Append the values to attribute which is received from serviceNow Ticket

Hello Everyone,

We have implemented the workflow with an external trigger that creates a serviceNow Ticket, and storing that ticket number in one of the attribute in source whose source type is SQL Loader by using V3 Create API.

Our requirement is that when workflow got triggered to same user with different access profiles, a new ticket will be created, and the ticket number should be appended to the TicketNumber attribute rather than being replaced. Can someone please help me out.

Thank You

Hi Shaik, try using the ‘concat’ feature on the ‘define variable’ operator. You can concatenate your old value that you can retrieve by API, and then add the new ticket number. Hope this helps! Operators - SailPoint Identity Services

1 Like

Hi Margo,

Thanks for the response. I have made changes as said.

I got the details of account and appended the ticket number to attribute separated by “,”. Any other way to break the line and store them line by line.

and as we are using Create API so entitlement is getting replaced which is under entitlement assignments. Any other way to add all the entitlements which are requested.

Hi Shaik,
You can try \n to break the line - I haven’t attempted this before, so I’m not sure if it will produce the result you’re looking for, but you can give it a try.
Can you provide more detail on the Create API entitlement portion you’re having trouble with?

Hello Margo,

We have made “TicketNumber” attribute as AccountId so whenever new ticket gets created its account is created. Thanks for the response

1 Like

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