Is there any way to keep a wait step until the standard criteria roles are removed from the Identity before “Get Access” step.? / Can we add a step Identity Refresh before we “Get Access”(roles) from the Identity.? / Any way to avoid the standard criteria roles in the “Get Access” step.?
In our case the trigger for the workflow that we are using is identity attribute change to inactive. We have few standard criteria roles which will be removed when the user is inactive(Based on the criteria). But the problem is before it removes the standard criteria roles workflow is getting triggered and at the “Get Access” step it is getting the standard cerita roles also with the requested roles and when it moves to “Manage Access” step it gives this error below and the execution of the workflow fails.
“{”“displayName”“:”“Manage Access”“,”“error”“:”“request failed: 400 - 400 Bad Request: Required field ““requestedItems”” was missing or empty. (type: HTTP Response Returned a Client Error, retryable: false): request failed: 400 - 400 Bad Request”“,”“stepName”“:”“manageAccess”“,”“task”“:”“sp:access:manage”“}”
WorkflowExecutionFailed,“2023-01-31T10:51:53.03604431Z”,“{”“error”“:”“actionStep(Manage Access) Err: task failed: activity error (type: sp:access:manage, scheduledEventID: 50, startedEventID: 51, identity: 1@ce25fa849d02@): request failed: 400 - 400 Bad Request: Required field ““requestedItems”” was missing or empty. (type: HTTP Response Returned a Client Error, retryable: false): request failed: 400 - 400 Bad Request (type: HTTP Response Returned a Client Error, retryable: false): request failed: 400 - 400 Bad Request: Required field ““requestedItems”” was missing or empty. (type: HTTP Response Returned a Client Error, retryable: false): request failed: 400 - 400 Bad Request”“}”
Can anyone please help me on this.? How can we handle this issue.?