cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow Gurus !

Former Member
0 Kudos

I am developing a new workflow , I am triggering this workflow task (decision – approve / reject) from my program using FM and I want to pass one internal table from my program to this workflow (may be as attachment) , so that approver can look into the contents of Int table, that helps him decide , whether to approve / reject.

Is this possible ? any ideas ?

Message was edited by: V bhandari

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You can pass the internal table from the triggering program into the workflow and use this in the approval task.

1. Create a parameter for you business object event. This parameter should be classified as a multiline(table)parameter.

2. In the triggering program prior to issuing the event. Populate the workflow event container with your table data. In the code below, the parameter 'ChangeMessage' is being populated with my internal table editor_tab. The parameter name is case sensitive, so make sure to use the same spelling everywhere.

swc_set_element event_container 'ChangeMessage' editor_tab.

3. On the workflow template, set the binding for the triggering event to pull the table values from your event parameter into a container element within your workflow. Then you should be able to pass this table to any of your other standard tasks via binding.

4. Once the tables values have been passed to your individual standard tasks, then you should be able to reference the table data in the task description by inserting the variable into the description text.

Former Member
0 Kudos

Hi,

Thanks. I am working on same line now. will let you know if any other problems.

Former Member
0 Kudos

I have tried to award points. Please confirm if u recd them.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi V bhandari,

If it isn't too difficult, I would recommend to built up the internal table in the first step of your workflow task.

Regards,

John.

Former Member
0 Kudos

Hi John,

Thanks. Do you mean I create another task prior to decision task to create the Int table , or can I do it in the decision task itself , some how ?

Regards,