Input

The following table describes the fields in the Input tab of the UpdateDocument activity.

Input Item Data Type Description
CollectionName String Specify the name for the collection, where documents are updated, with single or double quotation marks.
Note: Adhere to the following rules when specifying the collection name:
  • Do not start the collection name with system.
  • Do not contain empty strings, and characters such as $.

The value specified in this field overwrites the value specified in the Collection Name field in the General tab

Query Document String Enter a document with double quotation marks. This document is used to query one or more documents from the specified collection.
Update Document String Enter a document with double quotation marks. This document is used to update one or more documents from the specified collection.
Upsert Boolean Enter true() into this field if you want to insert the document specified in the UpdateDocument field when no matching document is found.
Multi Boolean Enter true() into this field if you want to update multiple documents which match the query condition.
ContinueOnError Boolean Enter true() into this field if you want the remaining update operations to continue when an error occurs.
Note: If you select the Continue On Error check box in the General tab, leave this field blank.