I am trying to pass the identity ID that I am getting from Search Query into the loop. But I am getting this error { “loopOutput”: { “failureItems”: [ { “errorMessage”: “expected top-level JSON object in string, got array without attribute wrapper (type: Error Parsing Activity Output, retryable: false)”, “payload”: null } ], “successfulItems”: } }
Attaching the screenshot for reference.
Also I have used Send email where I am checking whether the value getting fetched into ‘$.getInactiveIdentities.identities[*].id’ is correct or not and it is giving me correct result.
I don’t think that $ is a valid expression for context. It should reference a specific step. If you have a requirement to get the output of multiple steps into the context, you can use a Define Variable step to put all the variables into one step, and add the define variable to the loop context.