Question

8
Replies
940
Views
Close popover
Ionut Constantin (IonutC30)
Optum Inc

Optum Inc
US
IonutC30 Member since 2017 1 post
Optum Inc
Posted: August 13, 2018
Last activity: August 14, 2018
Closed

Return results from activity

How can you return results from an activity?

Let's say I have an activity named Sum taking param1 and param2, both integers. I have An ActivityStarted event and need to return the sum of the param1+param2. I know that one can define the parameters of the Sum in the interaction.xml but I see no place to define the output of any activity.

I think I could use the Context and have the activity set the result in there and thus return anything that way but that feels like using global variables. Wanted to make sure there is no way of returning a result before using the Context.

Thanks!

***Moderator Edit-Vidyaranjan: Updated Platform Capability***

Data Integration Java and Activities
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.