Question

8
Replies
784
Views
IonutC30 Member since 2017 1 post
Optum Inc
Posted: 2 years ago
Last activity: 2 years 1 month ago
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
Share this page LinkedIn