Sentinel playbook function issue

%3CLINGO-SUB%20id%3D%22lingo-sub-1998502%22%20slang%3D%22en-US%22%3ESentinel%20playbook%20function%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1998502%22%20slang%3D%22en-US%22%3E%3CP%3EIn%20the%20playbook%20I%20have%20created%2C%20I%20want%20to%20reference%20the%20output%20of%20a%20javascript%20snippet%20when%20adding%20a%20comment%20to%20an%20incident%2C%20though%20when%20I%20do%20this%20the%20'output'%20is%20switched%20seemingly%20at%20random%20to%20'body'%20without%20my%20doing%2C%20consequently%20failing%20the%20playbook%20run%20with%20this%20message%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22jkesterson_0-1608223617016.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F241388i8CD8835B669D821F%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22jkesterson_0-1608223617016.png%22%20alt%3D%22jkesterson_0-1608223617016.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EIn%20the%20logic%20app%20designer%20it%20shows%20'body'%20though%20in%20the%20code%20view%20it%20remains%20'outputs'.%20Screenshots%20are%20attached.%3C%2FP%3E%3CP%3EWhat%20I%20don't%20want%20but%20is%20happening%3A%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22jkesterson_1-1608223686352.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F241389i9D1D93AEC752D561%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22jkesterson_1-1608223686352.png%22%20alt%3D%22jkesterson_1-1608223686352.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20I%20do%20want%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22jkesterson_2-1608223747914.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F241390iE483B6C4B1A7A241%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22jkesterson_2-1608223747914.png%22%20alt%3D%22jkesterson_2-1608223747914.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEven%20when%20the%20dynamic%20content%20reference%20references%20body('is_low_risk')%3F%5B'body'%5D%20(what%20I%20dont%20want)%2C%3C%2FP%3E%3CP%3Ein%20the%20code%20view%20it%20shows%20what%20I%20originally%20had%20(what%20I%20do%20want)%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22jkesterson_3-1608223873258.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F241391i93E38664BF057AE7%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22jkesterson_3-1608223873258.png%22%20alt%3D%22jkesterson_3-1608223873258.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20ideas%20why%20this%20is%20happening%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

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