Access request cancellation

Hi Team

We are unable to cancel the access request, even though I clicked on the cancel option and it was not canceled.

Is there anything I can do to cancel the request?

@sureshbommareddy98 -

Check Request in Debug Page

Use the IdentityIQ Debug Page to examine the request:

  • Go to http://<IIQ_URL>/identityiq/debug
  • Look for IdentityRequest objects
  • Find the relevant request and check its status, workflowState, and any error messages

You can also identify if it’s stuck in a workflow step or failed to progress.

Alternatively, You may use the below code snippet to cancel the request programmatically -

import sailpoint.object.IdentityRequest;
IdentityRequest req=context.getObjectByName(IdentityRequest.class, "0000000121");
req.setExecutionStatus(IdentityRequest.ExecutionStatus.Terminated);
req.setCompletionStatus(IdentityRequest.CompletionStatus.Pending);
context.saveObject(req);
context.commitTransaction();

Cheers!!!

I will give you the more info

It is actually rapidsetup leaver access request, we have deleted terminated task result and there is no workflow case but access request completion status pending so can I cancel this request using code

If i put the Completion status as failure and execution status as terminated will that access request verify in identity refresh cube task