Hello,
In our workflow we are noticing that data from the outer step is not being flowed to Loop step. Below is the data from Step 1: “HTTP Request” which we have received and tested the same using webhook site
Now we are passing the output body as input to Loop step as below.
Loop Input: $.hTTPRequest.body
context: $.hTTPRequest.body[*].id
In the next step, we are sending an email to check if we are getting IDs from above step (For testing as we noticed the issue).
Email body: $.loop1.context
But, in the email we received we do not see the IDs. Am I missing anything here?
Hi Theja,
You can already access the identity ids in your body from your loop input variable. I don’t think passing it in to the context will help much since you wont have an easy way to traverse the context array in the loop anyways.
I suggest accessing the identity id using $.loop.loopInput.id
. Let me know if that solves your issue!
Thanks,
Liam
Hi @liamkokeeffe , I have tried this as well with no luck. I suspect that data is not being flowed to Loop as Input
Can you send your workflow steps?
@JackSparrow
Try below
loop input: $.hTTPRequest.body[*].id
context: $
hope this will resolve your issue.
Please find the workflow details
CopyofAccessProfileremoval220241116.json (2.6 KB)
Hi Sagar,
I have tried this. But still, it’s not working. Please find the workflow details.
CopyofAccessProfileremoval220241116.json (2.6 KB)
I have created a new workflow with the same config, and it worked. Thanks all!
Hi @JackSparrow ,
May I know what changes you did to resolve this? Or just created a same new workflow.
Hi Sagar,
I just created new workflow with same config.