Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Campaign Entitlement Removal - ServiceNow Tickets

Naveen_Talanos
Regular Contributor II
Regular Contributor II

Hi Experts,

As I understand, when there are two entitlements to be removed for same account for a user, although there are two tasks created but only one call is made to ServiceNow with values of both tasks aggregated in "allEntitlementsValues".

Is there a way that I may be able to send each entitlement as array values?
Below is the expected payload

{
    "user": {
        "first_name": "MyFirstName",
        "last_name": "MyLastName",
        "email": "MyEmail@email.com",
        "saviynt_user": "60090"
    },
    "application": {
        "display_name": "Core",
        "name": "Core",
        "saviynt_id": "510"
    },
    "entitlements": [
        {
            "saviynt_id": "68",
            "entitlement_types": "Group",
            "display_name": "Entitlement 1",
            "name": "Entitlement 1"
        },
       {
            "saviynt_id": "69",
            "entitlement_types": "Group",
            "display_name": "Entitlement 2",
            "name": "Entitlement 2"
        }
    ],
    "action_date": "09-Jan-2026",
    "action": "Remove"
}

 Regards,
Naveen

1 REPLY 1

rushikeshvartak
All-Star
All-Star

You can use java functions to implement this


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.