Workflow to revoke / Provision role to multiple identities

Hi All,

I am working on workflow which will provision identities with same “PositionId” with requested role.

Case: Multiple identities can have same “positionId”. sometimes that number crosses more than 100 and it will up to 1000.
If there is request for new role provisioning for any one of the identity, the i need to provision that requested role to all other identities who has the same positionId.

Below is my workflow.

I am calling this workflow from BeforeOperation rule, in which i am passing the required values for my provision / revocation tasks.

This flow works fine when the numbers are below 100, if it is more than 100 its fails due to the limitation of the loop.

I tried to use Recursive Workflows in IdentityNow.

But i am unable to send both Role and identities details for the next workflow.

Thank you,
Sri

i figured it out.

Body sample :

{
    "roles": "{{$.defineVariable.roleId}}",
    "users.$": "$.hTTPRequest1.body[*].id"
}

Thank you,
Sri

Hi @skashyap007,

Is that work ?

Yep, its working

image

2 Likes

Please mark your solution so that later on it will be easy to find for others.

Thanks

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