Sentinel playbook function issue

Copper Contributor

In the playbook I have created, I want to reference the output of a javascript snippet when adding a comment to an incident, though when I do this the 'output' is switched seemingly at random to 'body' without my doing, consequently failing the playbook run with this message:

jkesterson_0-1608223617016.png

In the logic app designer it shows 'body' though in the code view it remains 'outputs'. Screenshots are attached.

What I don't want but is happening: 

jkesterson_1-1608223686352.png

 

What I do want:

jkesterson_2-1608223747914.png

 

Even when the dynamic content reference references body('is_low_risk')?['body'] (what I dont want),

in the code view it shows what I originally had (what I do want):

jkesterson_3-1608223873258.png

 

Any ideas why this is happening?

 

0 Replies