Error in Multiline Container

Kjetil Kilhavn kjetilk at statoil.com
Mon Nov 22 05:40:49 EST 2004


No, your problem is more than likely your definition of your AGENTS,
although I am not sure I have understood your description of the solution.
Define AGENTS as a table of SWHACTOR as Richard suggests. Fill it with
US<username>. Then you will have the right data type for using the values
as selected agents.
 
Have you selected the indexed or non-indexed container element in your
"parallellism" definition?
 
Try to change the definition and see if that helps. Otherwise, enable the
workflow trace and see if you find out what is wrong. And like Richard I
suspect that AGENTS is a multiline container element/parameter and not a
container.
--
Kjetil Kilhavn
 
 
 
 
 
                    Maorriyan
                    <maorriyan_santoso at y        To:     SAP-WUG at MITVMA.MIT.EDU
                    ahoo.com>                   cc:     (bcc: Kjetil Kilhavn)
                    Sent by: SAP                Subject:     Re: Error in Multiline Container
                    Workflow
                    <Owner-SAP-WUG at MITVM
                    A.MIT.EDU>
 
 
                    20.11.2004 15:44
                    Please respond to
                    "SAP Workflow Users'
                    Group"
 
 
 
 
 
 
Hi Richard,
Thanks for your reply. However what I means by
"AGENTS" container is my own container. I created my
own container that I named it as "AGENTS".
After read your reply, I'm wondering perhaps "AGENTS"
is a word that already reserved by SAP. As a customer
we're not allow to use it,isn't it?
 
 --- Richard Marut <rvmarut at earthlink.net> wrote:
> Maorriyan,
>
> I'm assuming you're talking about the AGENTS
> element/parameter when you say
> the AGENTS container.
>
> Anyway, the AGENTS element should be defined as
> SWHACTOR or one of the other
> similar structures in order for SAP to resolve
> routing the work item. The
> first field is the object type which in your case
> should be populated with
> US which specifies that the object id field will
> contain a user id. SAP uses
> this two character field to determine what type of
> agent assignment is being
> specified which dictates how to resolve the
> assignment.
>
> Take a look at the domain for the object type field
> and you will see the
> values that can be used. You'll notice that the
> values are org object
> related.
>
> Richard...
>
> -----Original Message-----
>> From: SAP Workflow
> [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU] On Behalf Of
> Maorriyan
> Sent: Thursday, November 18, 2004 8:09 AM
> To: SAP-WUG at MITVMA.MIT.EDU
> Subject: Error in Multiline Container
>
> Dear all,
> Sorry if I resend this e-mail twice since nobody
> reply
> it. I'm resend it with different words.
> I'm facing with two error during implementing
> multiline container: "Agent determination for step
> '0000000002' failed" and "Result of agent resolution
> does not agree with agents of task".
> What I've done is:
> - "AGENTS" container created which refer to
> USR02-BNAME. In its properties tab, I checked the
> multiline check box. The contents of this container
> is
> coming from method in the main workflow. In the
> workflow log, I saw this container filled correctly.
> Its contain 2 line of user id.
> - I have 2nd subworkflow that I set as multiline
> element in tab "other" and filled "AGENTS" container
> in that field. This subworkflow contain only one
> task
> that need to be executed by many user. The binding
> from previous subworkflow (1st subworkflow) to this
> 2nd is: &AGENTS[&_WF_PARFOREACH_INDEX&]& -->
> &AGENTS1&
> "AGENTS1" is single container which refer to
> USR02-BNAME.
> - The binding from 2nd subworkflow to task is:
> &AGENTS1& --> &AGENTS1&
> When I executing this workflow and checked in the
> workflow log "AGENTS1" container is filled with
> "000001" same value with container
> _Wf_ParForEach_Index.
>
> I want this task executed by as many as user id that
> stored in the "AGENT" container. Why this error
> happen
> and why "AGENTS1" container contain value that same
> with value of _Wf_ParForEach_Index instead of user
> id?
> Any one has an answer?
>
> Regards,
>
> Maorriyan
>
> =====
> Maorriyan
>
>
________________________________________________________________________
> Yahoo! Messenger - Communicate instantly..."Ping"
> your friends today! Download Messenger Now
> http://uk.messenger.yahoo.com/download/index.html
>
 
=====
Maorriyan
 
________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping"
your friends today! Download Messenger Now
http://uk.messenger.yahoo.com/download/index.html
 
 
 
 
-------------------------------------------------------------------
The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorised use, dissemination of the
information or copying of this message is prohibited. If you are not the
addressee, please notify the sender immediately by return e-mail and delete
this message.
Thank you.
 


More information about the SAP-WUG mailing list