01 Jan 2026 12:13 PM
I have created a workflow for creating the incident in Servicenow. with default/fix values it works fine.
I want to derive the values for category, subcategory, imapct, urgency etc. specific to the problem and send this data to SNOW instead of fixed values. For this I have added additional javascript task to get the values from problem data. which provides the output like
Next task is create incident and value for category is passed as expression = {{ result('js_transform').[issue_category] }}
tried few others way like {{ result('js_transform').issue_category }} or {{ result('js_transform').["issue_category"] }} still not able to capture the variable with error - Error evaluating 'category' in input. Undefined variables: issue_category.
Use the expression preview in edit mode to review the input.
Featured Posts