Is there a way to terminate ongoing entitlement aggregation?

Problem:
Facing an issue where we’ve triggered entitlement aggregation on a Web Services connector. We were required to write a pagination logic to iterate through multiple pages of the response. However, the process keeps running indefinitely and unlike account aggregation, we don’t have a “cancel” button to force stop it.

Any workaround, insights appreciated.

Thanks,
Arshad.

I think you can edit the HTTP operation and add the pagination logic and restart the ents aggregation.

I know the UI doesn’t have a cancel aggregation button, but you may be able to end the task using the API:

GET /beta/task-status/pending-tasks
This will result in the ongoing tasks, such as the following:

Once you have the ID, you can try to update the status:

I’ve not used this on entitlement aggregation, but have on other stuck tasks, such as long running attribute sync jobs (months old!). I assume you’re in a sandbox since you’re in development. Take care in prod if you haven’t tested this first. Could be worth a confirmation from Support.

Matt

1 Like

I went back to find the post where I initially got this information:

Just to give credit where due.

@MattUribe So here comes the weird part. I did make the API call on /beta/task-status/pending-tasks

If I search for “Cloud Group”, there are no results. There are only 31 tasks in my system so this is not a pagination issue either

However, I can see the entitlement aggregation in the source running:

@Arshad Try this to kill it. get-pending-tasks | SailPoint Developer Community
Retrieve a list of statuses for pending tasks. Types of tasks include account and entitlement aggregation and other general background processing tasks. Data for tasks older than 90 days will not be returned.

Hey @TJ21, thanks for your response. However, like I mentioned in my response above and the screenshots shared, this API endpoint doesn’t fetch me the task related to entitlement aggregation running in my system.

@Arshad Then you need to put in a ticket with sailpoint for them to review this issue.

1 Like

@Arshad Try restarting the Virtual Appliance (VA) to clear any stuck processes

1 Like

Quick update on this thread:

A SailPoint ticket was raised and that has not been helpful as they were not able to reproduce the issue. Probably looks to be a temporary issue with the tenant which nobody could track/identify.

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