Workflow Field Shows Continuous Loading Symbol When Setting Current Record Value

In a NetSuite workflow, when trying to set a Transaction List/Record field value using Current Record, the field shows a continuous loading spinner and does not populate as expected.

Root Cause:

This issue typically occurs when the workflow attempts to set the field value dynamically without properly resolving the internal ID of the current record. NetSuite cannot evaluate the expression and hangs on loading.

Solution:

To resolve this issue, explicitly reference the internal ID of the current record in the formula used to set the value.

Steps to Fix:

  1. Edit the workflow.
  2. Locate the Set Field Value action where you’re setting the Transaction List/Record field.
  3. Change the Value source to Formula.
  4. Enter the following formula in the field:
{id}
  1. This ensures that the current record’s internal ID is correctly passed to the field.
  2. Save and redeploy the workflow.

Expected Result:

The loading spinner will disappear, and the field will correctly populate with the current record’s reference.

Additional Notes:

  • This fix is applicable when the target field expects a record-type reference.
  • Always test in a sandbox environment before deploying to production.

Leave a comment

Your email address will not be published. Required fields are marked *