Hello All,
I am new to building workflows, so apologies if I am missing the obvious.
The Use Case: We have a team that needs to be notified whenever an Access Profile (AP) request goes through. Right now approval on that request is turned off. I am trying to key off of the Access Profile ID.
My solution thus far:
The solution I have so far is:
Value 1: $.trigger.requestedItemsStatus
Comparison Operator: Starts With
Value 2: “id”:"
I have also attempted to use “Contains” for the comparison operator and $.trigger.requestedItemsStatus.id==. I have scoured the docs and am unable to find where to go next. Any help on this would be amazing.
Hi @MMckeehanEY - for your value1, try $.trigger.requestedItemsStatus[0].name
Also look at the step input for your compare to see what is there. You can also try.id if that is the value you need.
This will also ensure your workflow is triggered only for a specific AP that you want instead of for each and every request.
Then you can get the identity and send email.
@udayputta, I did try to add that to the trigger, but that was unsuccessful. I am not sure why it did not work. I will need to revisit when I have a chance.
Hey if you want to validate if your trigger works or not you can also validate using the approach which I have mentioned here in this post. If you trigger from the UI your workflow will still trigger as the UI does not care about the filter. If you want to validate then you have to first enable it and then do a testing by raising the request.