I am currently working on Native Change Detection update where i need the certification to be created instead of Revocation Submission Request.
Currently I am trying to modify the workflow template of Native Change detected Update as below, but whatever I add in the filter the data is not being picked up. Below is how i am trying.
I have also tried using “$.trigger.entitlementChanges[].added[].id”
Can you please let me know if am doing something wrong here, Tried various filters, the certification triggers successfully but is not catching any data.
I see space after * in the added filter you provided in this input: “$.trigger.entitlementChanges[*].added[* ].id”. Please check that.
Nevertheless I tried both of the below options. It works perfectly fine.
Directly used $.trigger.entitlementChanges[*].added[*].id or name
Used $.trigger.entitlementChanges[*].added[*] as Loop input and used $.loop.loopInput.name and $.loop.loopInput.id as input values to send an email. The values are replaced
If it didn’t work, please post the input used for the loop
Hope you added the context as $.trigger for the loop step, if you have used “$.trigger.entitlementChanges[*].added[*].id”
If you wish to use loopInput, then just $.loop.loopInput.id should suffice. You do not need to give the entire json like below, as we already specified it as entitlements to be reviewed.
Can you please provide the workflow JSON file along with the execution log file for the failed run? Please make sure to sanitize any sensitive info in those files before sharing. It’s hard to figure out why it’s not working without that information.
So I uploaded your workflow into my environment, and I have a thought. The documentation for the create campaign action states that the input for the access filter text box should be an array of IDs (ex. [“id1”, “id2”, “id3”]). It looks like in your workflow, and @SindhuVMurthy 's example, you are inputting an array of objects. Instead, try changing the input type for Access Filter from “Enter Value” to “Choose Variable” and then paste this JSONpath into the text box.
I believe this will work because that JSONpath produces an array of IDs. Try it on your workflow and let me know how it goes. If it still fails, please share the screenshot of how you configured that step along with the sanitized output log.