iRobo.Activity.Insert

Inset data into a collection in the Database.



                                                                                                               

Properties

Connection Configuration

  • Collection Name -  Enter a collection name that exists in the connected Database as String within "". (Mandatory)

Input

  • Document Option -  Determine whether to operate on single/multi documents in the collection. (Mandatory)
  • Multiple Documents Command -  Enter multiple documents in the collection using json objects that represents the document elements within String[ ] .e.g.
  • ({"{"<field1>",<value1>}","{"<field2>",<value2>}",.....})
  • Single Documents Command -  Enter single document  in the collection using json object  that represents the document elements as String within "".e.g.. 

("{ "<field1>",<value1>,"<field2>",<value2>,.....}")

     Note: 

        Documents Commands fields depends on your selection multi or single to operate the insertion process.

Misc                                                                                                        

  • DisplayName -  Activity header name.

Steps of Using Insert Activity

  1. Open iRobo Studio, and then open a new Workflow.
  2. Drag Insert Activity  to the Body of MongoDB connection.
  3. Enter Collection Name Variable, to access its data in Database, in Collection field in Connection Configuration in Properties Panel.
  4. Select whether to operate on single or multiple documents from Document Option in Input in Properties Panel.
  5. Insert the Document Command either a single/multi documents in its proper field in Input in Properties Panel.  
  6. Click Save button from iRobo Studio Menu to save Workflow.
  7. Click Play button to start the automated process, data inserted into Database, and returned the number of affected records in Database as Integer Variable.

Created with the Personal Edition of HelpNDoc: Single source CHM, PDF, DOC and HTML Help creation