Decision Message Processing

The auto correct node performs these tasks, in the order listed:
Note: The value of the pass counter is identified by AutoCorrect pass.
  1. Check AutoCorrectPass to see if this is the first time through on this decision. If so, back up all fields in the DecisionRequest that have been updated and set pass to 1. If not, restore all backed up fields and increment pass.
  2. Update AutoCorrectPass with the value of pass.
  3. If there are no auto correct fields for this pass, set ibmNprAutoCorrected to no and set the node’s response to failure. Return to the workflow controller.
  4. Check the fields to be copied for this pass. Compare the source with the auto correct field. If the same dataType, data length, and data value are found, the fields do not need to be copied. If the values are different, perform the copy.
  5. Test to determine if the fields are equal. If they are, increment the pass.
  6. If at least one field was changed, set ibmNprAutoCorrected to yes and set the node’s response to success. Return to the workflow controller.