Share all details about your problem, including any error messages you may have received.
Is there a way to fetch Identity Request Id in workflow once after calling base framework to submit access request using requestManager? I need to get identityrequest id to check its completion status.
I will try this out, What we need to keep on request name? Below provided is the snippet that we use for submitting access request, which should we keep for request name.
You have many option how to find the exact one that you need.
I am not sure where you need to find it out.
You could use owner id, name or any other attribute that you are setting up.
If you need to store request id in this workflow you could do something like that:
What I don’t fully understand is whether you need to use this request ID in further steps of this workflow or in a completely different place in IIQ. If it’s within this workflow, then it is one of the options I proposed above. However, if you need to find specific requests later in IIQ, you can use the information from my previous post, trying to search in a certain way using query options from the context or the database.
I need it for checking access request status, whether its success or failed, based on status i need to transition for next step for further requirements, correct me if im wrong ,can we able to pass this id in identity request class and fetch its completion status?
yeah its customized workflow of base framework for access request submission.
I need to send mail to application team only if access request is complete successfully, otherwise i should transition the step to stop. But I’m unable to fetch the status.
Best thing you can do is look at identity request in debug. Look at all the attributes that you can see there. Then once you know which one it should be pretty simple to find what is the method to use. For example
this is fragment of identity request xml. Maybe you need completionStatus or executionStatus or somthing else? If it’s an attribute there most likely is a getter method.
and how to get that identity request same thing could be name or id, so just use that in you getObjectBy name or id method.
I tried to filter using queryoptions to fetch identityrequest, but i couldn’t find it. Is it not possible to fetch in workflow maybe its still not created while trying to fetch?
In LCM Provisioning workflow there is a step with sub workflow “Identity Request Initialize” that creates the IdentityRequest so you should have identityRequestId atttribute available.
Yes, i tried to fetch that in next step but im not able to get it, but i can able to see identity request in debug already created, in same workflow im not able to get it
Yes, Actually I have a Quicklink to create guest account creation in azure , in the workflow step i have a provisioning plan to create account and provision the account into one group in the step im calling base framework for access request submission. So i need to get that requests completion status to check if it’s failed or completed to transition to next following steps.