cancel
Showing results for 
Search instead for 
Did you mean: 

How to retrieve the result parameter ?

Former Member
0 Kudos

Hello every body.

We have selected the result parameter checkbox in a method created in a ZXXX bussiness object. We need to know how to retrieve this result from the task.

Thank you in advance.

Juan.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

The Result Paramater will be basically available as a Export Parameter of Method so you could retrive in the same way in the Task as you do for export parameters.

If ok award me some points.

KKilhavn
Active Contributor
0 Kudos

If by this you mean binding to a (self-defined) container element then this is a bad advice. You should use the "work item result" standard container element element because then your task outcomes can be determined based on the domain of the return parameter. This makes the workflow design better, and more compact, as you don't need a separate step to branch based on the returned result.

But technically you are of course correct, and perhaps you did not mean the above

Answers (2)

Answers (2)

Former Member
0 Kudos

Method result is a predefined container element WIResult

Regards,

Michal

Former Member
0 Kudos

Hi Juan,

You can retrieve the result parameter from the method defining the Task.

Just double click on the task number and you will be taken to the "Standard Task: Change" screen.

Here Look out for a Small binding symbol in the Object Method cluster.

Click on the binding symbol and do the necessary binding to get the result from the method to the Task containers.

And subsequently, u can do the binding betweent the task containers and the workflow containers.

Hope this helps.

Regards,

Raj