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

Thanks Ben !!


Hi Ben,


                I have a custom REST message activity and when I drag it onto the workflow I don't have any input or output under the Data tab.     How would I get my data outputs to appear?   I know I have data outputs because before I came across this thread I added "Run Script" objects between REST activities to assigned data outputs from the Script Tree to scratchpad variables and used those same variables as inputs into my next REST activity.   At the time, this was the only way I knew how to pass activity outputs to inputs.



From what I've read above the process would be to drag an activity onto the workflow, select the data tab and then drag each output object onto the activity, but I'm getting the same results.     Your assistance would be much appreciated.


Community Alums
Not applicable

Hi Samuel,



Did you create outputs in your custom REST Activity definition? You need to create them there for them to be available when you use the Activity in a Workflow.



Ben


Hi, Ben!



I have the same problem.



The Outputs are defined. When the Workflow Editor is displaying a workflow, they show up in the Data tab on the right hand side of the screen, but cannot be clicked or dragged.



When the Workflow Editor is displaying an Activity, the tab contains no data elements, but instead a message which reads "This tab displays activities in the current workflow that output data. Workflow designers can use these activities as data sources for other activities."




Right. So there are more than one view for an activity instance in a workflow.



By default, it's in the Sys_popup view. In order to see the Input parameters, you'll need to be in diagrammer view.



This is a helpful but missing piece of information from the documentation.



*sigh*