In workflow adding entitlements in the "Manage ServiceNow Ticket" - getting array but the requirement is need to get all entitlements line by line not in array

Hi Everyone,

we have build a workflow based on attribute change. In workflow adding entitlements in the “Manage ServiceNow Ticket” - but in the result we are getting array but the requirement is to get all entitlements names line by line not in array.

The thing is we are getting array not the string. this looks main issue now.

could you please look and let us know the how can we overcome that problem.

Hi @Deepak_Chaudhary

Can you try to add a Define Variable step before Manage ServiceNow Ticket, then convert the entitlement array into a string, then use Replace operations to remove brackets or quotes and replace the delimiter with a newline or readable separator. Then use that variable in the ticket Description field.

Thanks