Workflow get body length info

Hello Everyone,

I am trying to create a workflow that do a search query via http request. I’d like to get the number of events of the search result and send email with this information. But I just couldn’t get the $.body.length value in the workflow. I have tried in the JSON evaluator, and it gives the desired value there

But when I tried using it in the Workflow in the Send Email action, it does not give the desired value.

Thanks!

Hi,

Can you try - $.hTTPRequest.body.length()

Thanks,
Shailee

2 Likes

It worked!!! Thanks a lot!

Hi Renz. Please mark Shailee’s reply as Solution. This will really help the community.
Thanks!

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.