What could be the trigger for the “Access Request Decision” in the workflow?
I want to filter the access requests approved or denied only for the selected source. If the particular source-related access request is approved, I want to send a custom email.
The sourceId is not included in the payload, so there is no way to filter out events based on the source of the access. There is a way to get the sourceId for access requests and then do a comparison operator to filter out any requests that don’t match the target source, but it will require loops and variable insertion, which are not yet available in Workflows.
Is there a clear answer on what the actual Json looks like in the “Access Request Decision” box? I have read through the document posted below and it provide no insight. It would be helpful to know that small detail.
The text area on each trigger is for a JSONpath filter expression. You might find it helpful to read up on trigger filters here: Filtering Events | SailPoint Developer Community. You have to look at what the payload of a trigger will be in order to understand what fields are available to filter on.
Here is an example filter expression to only send Access Request Decision events that contain an access item with a specific name.