Hi Guys
I have made a review on some app roles and want to automatic have them removed after approver have selected revoked on the user. The review works fine, but i dont know how to proceed to pass it on to the AFX, to remove the App role.
Do I need to create a workflow under Reviews? (Marked as Revoked)
Please point me in the right direction, ty.
Best regards
\Martin
For you to be able to use the variables inside your fulfillment workflow, the fulfillment workflow needs to be grouped to "create an individual job for each item" to be able to resolve the WF variables accordingly since the fulfillment workflow has a dedicated instance for each item inside the CR.
The method I use to get the actual OOTB WF variable name/syntax is that I add a dummy SQL Select > Right Click > A menu like present in the following screenshot will appear > see which WF variable is needed > Click on it > It's name ${{access_request_cri_xxxxx} will be present in the SQL node text box for you to copy and paste somewhere else > delete the node after it isn't needed.

After obtaining the correct syntax, you can pass them on to your provisioning node. If you are going to use the AFX fulfillment handler (no provisioning command), there is no need for all of this as the account and approle attributes will be mapped to the AFX capability's parameter then fed to the SQL DELETE statement.