cancel
Showing results for 
Search instead for 
Did you mean: 

assigning a value to container element in rule defination

Former Member
0 Kudos

I am using a rule to determine an actual agent. I am using a function module containing actor_tab and ac_conatiner in TABLES parameter. the agent determined is appended to internal table actor_tab. I want this agent to be available in a container element(say: APPROVER) to use it further. I am trying to assingn the agent value to container element using macro swc_set_element ac_container 'APPROVER' agent-name. But its not working...any other way to assgn this agent to the container element. Bindings from workflow container to rule container are proper.

Edited by: Rishi Bhatia on Oct 19, 2008 2:46 PM

Accepted Solutions (1)

Accepted Solutions (1)

former_member184495
Active Contributor
0 Kudos

Hi RB,

since you passing an internal table, why dont you use swc_set_table, instead of swc_set_element.

Hope it helps.

Aditya

Answers (1)

Answers (1)

Former Member
0 Kudos

i think you cannot modify the container element from Rule.

the agents of the task determined by the Rule will be stored in some variable of the container automatically (i think it is RuleResult.Agents). you can check this yourself and then bind this element of the task to your APPROVER element.