wfm.AdminSaveActivityVariables

This job saves workflow variables for a specified instance ID of an activity to the database.

1. Input Parameters

Name Type Required Description

UserId

STRING

Yes

ID of the user performing the change

RActivityId

STRING

Yes

Instance ID of an activity

DataFields

BASE64

Yes

List with information about variables in XML format

2. Return Value

(INT): 0 = Job successful, otherwise error code.

3. Example

Structure of DataFields:

<DataFields>
  <DataField Id=""><![CDATA[]]></DataField>
  <DataField Id=""><![CDATA[]]></DataField>
</DataFields>

Detailed description of DataField:

  • Id (STRING): ID of the variable

  • CDATA: Value of the variable