Get output value from REST Workflow Activity Designer to runscript

varalakshmi1
Kilo Contributor

Hi All,

I have created a rest activity designer working fine,but i want to access output value into other activity.

I have tried to assign workflow.scratchpad.serverid,

1 ACCEPTED SOLUTION

Community Alums
Not applicable

When you add the Activity to a Workflow, then you can add the output to other Activities from the Data tab on the right side of the screen.


View solution in original post

15 REPLIES 15

Sorry,its worked fine


varalakshmi1
Kilo Contributor

Hi ben,



I want to store the rest-activity output value into workflow scratchpad variable,is it possible ?


Community Alums
Not applicable

You *can* but you should not have any reason to do so. The use of the "databus" (the items on the Data tab) should remove the need to do so. We will likely see the scratchpad phased out and replaced, so it would be good practice. What is your objective in placing it in the scratchpad?


Hi Ben,



How can I use the output from Data tab in a Script ?



Thanks,


Rajeev


Community Alums
Not applicable

Hi Rajeev,


On the top right of the scripting window is an arrow that opens the "script tree." This allows you to select data variables from other activities to put them into your script. In this screen shot, I've opened the script tree and clicked valuation to add it to the script area:



Screen Shot 2017-04-13 at 9.23.35 PM.JPG



Ben