Error Msg-You are not one of the possible agents of the task.

Van Heerde, Arnoud arnoud.van.heerde at sap.com
Wed Dec 5 03:41:31 EST 2001


Hi Diane,
 
How about using SWW_WI_START_SIMPLE instead? You can start a workflow with
this FM as well and it doesn't check the possible agents of the WS task.
 
When you test a workflow template from within the workflow builder the
system doesn't check if you are a possible agent either.
 
HTH
 
Arnoud
 
-----Original Message-----
From: Kjetil Kilhavn [mailto:KJETILK at statoil.com]
Sent: Wednesday, December 05, 2001 3:20 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Error Msg-You are not one of the possible agents of the task.
 
 
Could this be connected to the new thing "Start workflow" which is available
in
object services? We don't use it, but if I remember correctly from TAWF10
you
will only be able to start those workflows of which you are a possible
agent.
This sounds logical enough, if you can not execute a workflow you should not
be
able to start it either.
 
Is it possible for you to trigger an event instead and pick that up? That is
my
preferred method of interfering. (Despite Achim, the teacher I had at
TAWF10,
telling me that it causes unnecessary overhead due to the extra function
calls
involved.)
--
Kjetil Kilhavn
 
 
 
 
|--------+------------------------------>
|        |          "Nobles, Diane"     |
|        |          <nobles_dh at naptheon.|
|        |          com>                |
|        |          Sent by: SAP        |
|        |          Workflow            |
|        |          <Owner-SAP-WUG at MITVM|
|        |          A.MIT.EDU>          |
|        |                              |
|        |                              |
|        |          03.12.2001 22:26    |
|        |          Please respond to   |
|        |          "SAP Workflow Users'|
|        |          Group"              |
|        |                              |
|--------+------------------------------>
 
>---------------------------------------------------------------------------
-|
  |
|
  |       To:     SAP-WUG at MITVMA.MIT.EDU
|
  |       cc:     (bcc: Kjetil Kilhavn)
|
  |       Subject:     Re: Error Msg-You are not one of the possible agents
of |
  |       the task.
|
 
>---------------------------------------------------------------------------
-|
 
 
 
 
 
Yes, we have done all that.  I can test it ok.  The workflow is ok.  It is
the function module.  The test of the function module comes back with the
error.  It will not even trigger the workflow, because it gets a return code
of 2, which gives the message "You are not one of the possible agents of the
task."  The function module is looking for something we don't have.  WS
template is a general task.
 
Diane H. Nobles
SDE PM Team
(757)380-7250
------------------------------------------
Do not render evil to anyone, but pursue
good both for yourself and for all.
1Thess 5:15
 
 
-----Original Message-----
From: Thomas Maue [mailto:Thomas.B.Maue at pmusa.com]
Sent: Monday, December 03, 2001 3:55 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Error Msg-You are not one of the possible agents of the
task.
 
 
Diane,
 
Go to SWUS, key in your template (ex WS) and click on refresh org
environment.  Can you start
the Workflow from here?
 
Thomas Maue
Workflow Consultant
 
 
> -----Original Message-----
>> From: Nobles, Diane [SMTP:nobles_dh at naptheon.com]
> Sent: Monday, December 03, 2001 2:16 PM
> To:   SAP-WUG at MITVMA.MIT.EDU
> Subject:      Error Msg-You are not one of the possible agents of the
> task.
>
> Good evening all.  I have a workflow that is triggered by a program using
> function module SAP_WAPI_START_WORKFLOW.  It worked great in 3.1H, but now
> in 4.6c, the function module was changed and now we are getting the error
> message, "You are not one of the possible agents of the task."  A
> comparison
> of the function modules revealed that 4.6c calls a check function module
> RH_TASK_START_CHECK, which was not called in 3.1H.  We cannot figure out
> why
> we are getting this error.  Has anyone ran into this function
> module/problem
> and provide some assistance.
>
> Diane H. Nobles
> SDE PM Team
> (757)380-7250
> ------------------------------------------
> Do not render evil to anyone, but pursue
> good both for yourself and for all.
> 1Thess 5:15
 
 
-------------------------------------------------------------------
Statoil: 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