We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Orchestration Activity Output

Karlie
Tera Contributor

We are using orchestration and have an activity for ssh that runs a script. It is working and when I test inputs on the activity designer I see "raw output" and "output". Raw output looks like value1/value2/value3 while output does not include the slashes and has line breaks. Where can I pull "output" in to the workflow as the result so I can post it in a task. Right now by using the databus I only see the option for raw output with the slashes.

 

Hope that makes sense, thanks!

1 REPLY 1

vermaamit16
Kilo Patron

Hi @Karlie 

 

Can you try creating an output variable for your activity and then setting it up with parsing source as executionResult.Output and parsing type as Direct. Refer below snip :

AmitVerma_1-1711000593112.png

 

AmitVerma_0-1711000567710.png

 

Thanks & Regards

Amit Verma

Thanks and Regards
Amit Verma