Skip to Content
avatar image
Former Member

assigning a value to container element in rule defination

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    Oct 20, 2008 at 02:17 AM

    Hi RB,

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

    Hope it helps.

    Aditya

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 20, 2008 at 07:13 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded