A record producer variable whose value is copied to a custom field is not appearing on the generated record


Description

A record producer contains a variable whose value is copied to a custom field. The expected behavior is when viewing the newly created record, the variable value should appear on the custom field which is not happening.

Cause

From the audit history of the newly created record it is clear that the variable did contain value and this value is being copied to the custom field during creation time.

But, the generated record uses a workflow that has a Run script activity which is modifying the value of the custom field, hence the issue.

Resolution

Review the corresponding workflow and modify the 'Run script' activity so that it does not update the custom field value.