I am currently working on creating a form that will be filled out during our onboarding process that will collect some needed information and also allow a manager to make hardware and cloud PC provisioning selections.
Basically, when they select on the form that a laptop is needed it sends a request to our helpdesk to do that order, but for our Cloud/Virtual PC option I want to have it add the user to the entitlement for access when that marked as needed.
Here is an image of the workflow diagram.
We are seeing “request failed (type: Bad Request, retryable: false): 400 - 400 Bad Request:” when it gets to any of the Manage Access actions. (I did make this entitlement requestable)
For the Managed access action, I have the following set, I’ve put in placeholder names for the entitlement and ID in this example)
- Request Type = Add Access
- Identities:
$.getIdentity.attributes.uid
- Access to Manage:
{"id":"123456","name":"CloudPCUserProvisioning","type":"ENTITLEMENT"}
- The Step Input when looking at the error looks like:
{“addIdentities”: “TESTACCOUNT014”,“comments”: “Adding user to cloud pc for Provisioning”,“removeDuration”: null,“removeIdentity”: “45678”,“requestType”: “GRANT_ACCESS”,“requestedItems”: {“id”: “123456”,“name”: “CloudPCUserProvisioning”,“type”: “ENTITLEMENT”}}
Is that the correct JSON format for the Access to manage section if I wanted to add an entitlement to the Identity grabbed earlier in the form? Or am I missing something?
