Trigger an email to the Requestor and the Requested for once an access has been granted

Hi everyone,

Currently when a requestor submits an access request from IDN, we don’t receive an email once the access has been completed in IDN and access is granted to the user.

Has anyone built a workflow in which an email is triggered to the requestor and the requested for once the access request decision is completed and access is granted to the user in IDN?

If yes, can you provide me with the steps?

Hi Naga,

This should be possible with workflows. I encourage you to attempt this yourself first, and then ask specific questions when you are stuck.

Hi @colin_mckibben ,

I have build a workflow for the same so the trigger that we are using is “Provisioning Completed”. We are able to successfully trigger the email for requestor and recipient.

But the main Point is we need to have a other step included in the workflow which checks if the user requested a specific AccessProfile then we need to send a different email…

Currently we are stuck at the “compare strings” step. we can get the attribute value from the trigger which is the value that user request for…We are using compare strings for this step. We have two json bodies in two values of compare strings that checks for ‘Equals’ both the json return same value but the compare string always goes to false path.

Value one : $.accountRequests[*].attributeRequests[?(@.attributeValue==“CheckValue”)].attributeValue

Returns : [CheckValue]

Second Value (Choose Variable) : $.accountRequests[].attributeRequests[].attributeValue

Returns : [CheckValue]

Inspite of going to true ‘compare strings’ always goes to false path…Any thoughts on this.?
The trigger that we are using is “Provisioning Completed”.

We really need to get this working we have tried so many json bodies which gives the same value and also we even used VerifyData which always goes to true.

It would be great if you cloud give any suggestions for this issue…

Thanks,
Sravani

The issue you are experiencing is related to this: [Fixed] Workflows JSONpath Issue: Array brackets always present when using filters - #12 by BenNelson. The ticket is currently in the backlog.