create an identity attribute for is admin account attribute then you can create a workflow and attach that workflow to the access profile
for access profile you cant give criteria instead of it
create a role for that and give criteria
Hi @nandiniks1 Create an Entitlement Type on the Source of Attribute (isadmin) value. Create an Entitlement where isadmin=true and add it to the Access Profile of requestable type.
Hi Jeremy, this is the account attribute pulled straight from the get user API, I donot have any UUID for this attribute to define the entitlement type. Can please guide further.
HI @nandiniks1 Not sure what you mean by UUID. Mark the isadmin attribute as an Entitlement of String type (you can create an Entitlement type to keep it clear).
@nandiniks1 Nandini - Jeremy Place was on the right track with “mark isAdmin as an Entitlement type.” You was confused about (no UUID) is resolved by running the entitlement aggregation first ISC generates the entitlement records (with their own UUIDs) from your List Entitlements operation. You don’t supply the UUID; ISC creates it after aggregation.
There is no Condition as such, if anyone requests the admin access on snow form, the isadmin attribute should be set to true value and vice versa when access revoked.