Email Notification after Entitlement Removal via Workflow

Hello again @fabienne_florian

I understand. Since your value looked very much like an id i just assumed it was the id, my bad.

It is still solvable, but instead of querying one specific entitlement, query all of your entitlements and find the one you are looking for.

I.e. change the HTTP Request URL to /beta/entitlements/ (without the ID).
Then change the JSONPath to look for the element where value == {{$.trigger.accountRequests[0].attributeRequests[0].attributeValue}} and extract the name using:

$.hTTPRequest.body[?(@.value == "{{$.trigger.accountRequests[0].attributeRequests[0].attributeValue}}")].name

You could probably also do it using your method using with the filters query parameter. But since you need to GET all entitlements anyway, might just use the JSONPath immediately.
But to answer your question, for setting this up in UI, you would do it like this:
image

1 Like