=INSTANCEUPDATE
The =INSTANCEUPDATE() function updates a specific field in one or more process instances that match a defined search query. It is commonly used to synchronize or propagate values across related processes.
Syntax
Section titled “Syntax”=INSTANCEUPDATE(FieldIDToUpdate; TableIDToSearch; SearchQuery; NewFieldValue)Parameters
Section titled “Parameters”-
FieldIDToUpdate – The ID of the field to update in the matching process instances.
-
TableIDToSearch – The ID of the process table to search.
-
SearchQuery – A query used to identify which process instances should be updated.
-
NewFieldValue – The value to write to the specified field.
How It Works
Section titled “How It Works”-
The function searches the specified table using the provided query.
-
All matching process instances are updated.
-
The specified field is set to the new value for each match.
Example
Section titled “Example”=INSTANCEUPDATE( 234567890123456789; 123456789012345678; tf_id_123456789012345678[eq]Approved;Complete)Usage Notes
Section titled “Usage Notes”-
Use precise search queries to avoid unintended updates.
-
The target field must exist in the destination process.
-
Formula functions are case sensitive and must be written in ALL CAPS.
Keywords
Section titled “Keywords”INSTANCEUPDATE, update process instances, bulk field update, cross-process update, workflow automation, process table update, formula function