Custom fields are not getting filled on sc_task formIssue Custom fields : are not getting filled on sc_task form. getDisplayValue() from workflow script is not working. Error: org.mozilla.javascript.EcmaError: "field_name" is not defined.CauseImproper assignment in the workflow script for the affected fields. The custom fields are referenced fields and being assigned the following values: current.variable_pool.field_name.getDisplayValue(); Resolution Instead of the above, this is how the assignment should be done: current.variable_pool.field_name The reason is that the getDisplayValue() function makes this call for a string type field but the custom fields are user reference fields. Removing the function call getDisplayValue() should make it work.