Hi All,
I’ve setup a workflow using the following steps as shown in the attached screenshots.
1: Identity attributes changed (trigger)
2: Define Variable (this is ‘Text’ data field for application name e.g Akamai)
3: Get Access (get all entitlements of the triggerd identity)
4: Verify Data Type
- Without using step2 i.e define variable, I know this value works fine e.g $.getAccess.accessItems[?(@.type == “ENTITLEMENT” && @.name =~ /Akamai.*/i)]
- But if I use step2 i.e define variable, this value doesn’t seem to be working e.g $.getAccess.accessItems[?(@.type == “ENTITLEMENT” && @.name =~ /$.defineVariable.*/i)]
5: Manage Access (remove access where entitlement name start with Akamai)
- Access to Manage
- Without using step2 i.e define variable, I know this value works fine e.g $.getAccess.accessItems[?(@.type == “ENTITLEMENT” && @.name =~ /Akamai.*/i)]
- But if I use step2 i.e define variable, this value doesn’t seem to be working e.g $.getAccess.accessItems[?(@.type == “ENTITLEMENT” && @.name =~ /$.defineVariable.*/i)]
The reason I want to use define variable is, so we can easily replicate the same workflow for another application by just changing the define variable step accordingly instead of changing the value field of verify data type operator and access to manage field.
So, do the value field of ‘Verify Data Type’ operator And access to manage field of ‘Manage Access’ action support variables?
Thanks!