IDN Sequential Task

Hi Team,

We have a requirement to run our aggregation tasks sequentially. To illustarte, we have 6 sources and we want to run aggregation in a way that
if task 1 is completed successfully then task 2 should run and so on.

We are able to run the task from outside IDN by using below API.
https://xxxx.identitynow.com/cc/api/source/loadAccounts/sourceID (Version 1 API)

However we are unable to fetch the task status. We are not getting any API to fetch the status whether the task is success or fail.

Note: We are not finding anything in version 3 or BETA API to run the task.

Regards,
Sindhu

Hi @sindhu_v_murthy,

/cc/api/source/loadAccounts/{sourceId} returns an object that contains a task ID.

{
    "success": true,
    "task": {
        "attributes": {
            "appId": "2c34b0887671ff8c01767b4671fb7d5e",
            "eventId": 245994,
            "optimizedAggregation": "disabled"
        },
        "completed": null,
        "completionStatus": null,
        "created": 1630675229927,
        "description": "Aggregates from the specified application.",
        "id": "2c9180867ba7ac3c017babd15ce708dd", <-- Task ID 
        "launched": 1630675229939,
        "launcher": "colin.mckibben",
        "messages": [],
        "name": "Cloud Account Aggregation",
        "parentName": null,
        "progress": null,
        ...
}

You can get the status of the task by using the beta Task Management API.

Simply perform GET /beta/task-status/{taskId} to get the status of the task.

1 Like

Hi @sindhu_v_murthy,

Iā€™d be curious to know what your requirement is to run the aggregations sequentially, but you could also achieve this with the Account Aggregation Completed event trigger. Refer to Getting Started with Event Triggers | Sailpoint API References for more information about our new event triggers.