iRobo.Activity.Update

Update data of a collection in the Database.



                                                                                                               

Properties

Connection Configuration

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


Filter

  • Field -  Enter the name of the required field in the documents to filter. (Mandatory)
  • Operator -  Select the filter operator For comparison of different BSON type values. (Mandatory)
  • Value -  Enter the equivalent value of the specified field to filter . (Mandatory)


Input

  • Document Option -  Determine whether to operate on single/multi documents in the collection. (Mandatory)
  • Updated Fields -  Enter the new updated fields and its values using json objects that represents the document elements within String[ ] .e.g.

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


Misc                                                                                                        

  • DisplayName -  Activity header name.

Steps of Using Update Activity

  1. Open iRobo Studio, and then open a new Workflow.
  2. Drag Update 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 Updated document Command in Updated Fields in Input in Properties Panel.
  6. Provide the filter equation of the required document to be updated  in Filter in Properties Panel.
  7. Click Save button from iRobo Studio Menu to save Workflow.
  8. 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: Free Qt Help documentation generator