Exchange data between tasks

Printer-friendly version
Tags: 

I have a task with a codelet. I need to pass the result from this task to another task in the same net, using variables.
1) How can I do it? 2) In my codelet, I set my output params. How can I retrieve these params (and their value) in the workflow editor?
Sorry if I'm asking something very basic, I've not found solutions in manuals and in the forum. Thank you

ahense's picture

You need a net variable to do this. The net variable should have the same type as the task variable. The net variable may have a different name. If it has the same name as the task variable the editor helps you constructing the mappings. On the screenshot below you see where this is done in the editor.

variable mapping

Let me know if this solves your problem.

Image: 
ahense's picture

You need a net variable to do this. The net variable should have the same type as the task variable. The net variable may have a different name. If it has the same name as the task variable the editor helps you constructing the mappings. On the screenshot below you see where this is done in the editor.

variable mapping

Let me know if this solves your problem.

Image: 
ahense's picture

You need a net variable to do this. The net variable should have the same type as the task variable. The net variable may have a different name. If it has the same name as the task variable the editor helps you constructing the mappings. On the screenshot below you see where this is done in the editor.

variable mapping

Let me know if this solves your problem.

Image: 

Yes it worked, this was very useful, thank you