Assignment task descriptor
The assignment task executes assignment statements without performing any table look ups. This task can be used to conditionally set data fields based on the connection logic in a node.
Task descriptor
The task descriptor for this task is shown in the following
example:
<taskDescriptor name="TaskName" type="ASSIGNMENT">
<assignments>
<assignment field="fieldName" value="Y" type="string"/>
</assignments>
</taskDescriptor>An assignment task returns either SUCCESS or FAILURE in a results variable. The value that is returned is based on the last assignment that was executed for the task. It returns SUCCESS when the assignment was done and FAILURE when the assignment was not done because the conditions associated with the assignment were not met.