Filter Access Request Decision trigger in Workflow

Hi All,

I need to filter the Access Request Decision trigger in Workflow. I need to trigger the workflow when an access request was approved for adding an access profile in a specific application. I initially set this as the filter but it is not trigger the workflow

$.requestedItemsStatus[?(@.clientMetadata.applicationName == 'My application' && @.operation == 'Add' && @.approvalInfo[*].approvalDecision == 'APPROVED')]

Could you please help on the correct syntax? Thank you!

Try this…

$.requestedItemsStatus[?(@.clientMetadata.applicationName == 'My application' && @.operation == 'Add')].approvalInfo[?(@.approvalDecision == 'APPROVED')]

And here is the link for SailPoint’s own JSON Path Evaluator:

1 Like

Hi @iamnithesh,

Sorry for the late response, I tried this but it didn’t trigger the workflow. I also tried other filters and checked if it correct using the JSON Path Evaluator, however, it is working properly in the JSON evaluator but when I tried it in the workflow, it is not triggering it.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.