Using IdentityNow variables in "Manage ServiceNow Ticket" workflow action

Hoping for some help with the “Manage ServiceNow Ticket” action in workflows. My team is trying to create a workflow that generates a ServiceNow incident whenever there’s an aggregation failure. The workflow itself is functional and generating incidents as expected, but we’re having trouble customizing some of the fields with specifics around the failure (the name/id of the source). Ultimately looking to use these variables in the Short Description and Description fields. We tried using the input variables from the trigger but they’re coming through as text (ex. $.trigger.source.name)

If anyone has successfully passed IDN variables to SNOW via workflows I’d really appreciate some guidance on variable formatting/syntax!

2 Likes

Hi Audrey

Welcome to the Developer Community!

I haven’t explicitly done this use case, however, I have used variables from the trigger or other steps in the workflow and the usual syntax to reference the variable would be to wrap it in curly braces like this {{$.trigger.source.name}}.

Give that a go and let me know if that works for you.

Thanks
Irshaad

3 Likes

That worked! Thank you so much!

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.