Toggle menu

setProcessVariables

Updates the process variables of a particular process.

Parameters 

NameTypeDescription
processInstanceIdStringThe ID of the process instance
variablesObjectMap of process variables to update where the keys are process variable names and the values are the values of those variables
fileReferencesObjectMap of field names to file reference objects. The supplied files will be referenced by the workflow and remain available until it completes. For an example see the startProcess function
replaceExistingFilesbooleanTrue by default. If this property is true, files named in the "fileReferences" parameter replace any existing files provided under that name which will no longer be referenced by the workflow. Otherwise the new file and and any previous files referenced under that name will be kept
processInstanceId and variables are required
Last modified on March 10, 2020

Share this page

Facebook icon Twitter icon email icon

Print

print icon