Hi Team,
I’m new to ISC and currently working on creating a simple workflow. The goal is to trigger the workflow once an account request is submitted. The workflow should then validate the requester’s identity and, if the requester belongs to the Accounts department, the request should automatically fail with the message:
“Accounts team does not have permission to use Request Center.”
However when I try use the triggers available for the workflow the Account request submitted is not there. I would like to know how to use event trigger - Account Request Submitted in my workflow.
HI @jeyan91 ,
Welcome to developer community!
Take a look at “Access Request Submitted” event trigger. Access Request Submitted | SailPoint Developer Community
This should satisfy your requirement. Below are the overview steps for workflow
- You can subscribe to “Access Request Submitted” event trigger. Before that follow below step, no 2 from where you will get all the details required to configure this step.
- Configure “external trigger” in workflow.
- Use “Get Identity” action to get the details of requestor using $trigger.requestedBy.id
- Use compare operator to check if requestor belongs to accounts department.
- If yes, then use “HTTP Request” action to revoke the request. For this you can use cancel-access-request | SailPoint Developer Community API
Let me know if any help is needed.
Thanks for your response! Can you please help me with the documentation for setting up event triggers for a workflow?
Hello @Chaithu9110
Thanks for your reply!
I have a question in this workflow trigger, if we choose access request decision as a trigger and once the approval is done won’t the request get successful?