Batch of Revocation of pending uncertified accesses

Hi everyone, I’m using the task to cancel an access certification campaign (batch/cancelUARCampaign.groovy). Could you help me with the code needed to add the revocation of accesses in the IN_PROGRESS state to this task before canceling the certification?

Hello @jaandradeq,

You can refer to the attached script to help you with this:

cancelUARCampaign.groovy (3.9 KB)

Please let me know if you have any other questions.

Thanks,

Ameet

Hi @ameet_shah I’ve just used that task as a basis; what this task does is cancel a certification campaign, but what I need is not only to cancel the campaign, but also to autocomplete the approval steps that are in the IN PROGRESS status as REVOKE (that is, revoke the access that was in the IN PROGRESS status). Is this possible?

Hello Julian,

Understood now. We will have this ability in our next release, which is 4.2.2.

Thanks.