Assign agent to task in workflow

Hi guys,
In my workflow I have tree levels of validation.
When I want to assign an agent to a task in my workflow I can see there is a rule "the superior of the workflow initiator"
But..
How can say superior of the superior?

this rule uses the organizational structure of the SAP system (trans PPOMA)
So at the top there's no superior, either you develop the workflow in such a way that no validation is required when the top is reached, or the process will never reach beyond the top.
For more info search the appropriate forums, in this case the workflow forum, or the HR forum, not the ABAP forum.
Kind regards, Rob Dielemans

Similar Messages

  • Assign agents to task

    Hi gurus,
    I am using a one step bid approver workflow  WS14500027. When i go to assign a agent to task TS14507922. the message
    appears as "General task: can be edited by all users". and if i ok the message nothing happens further..
    Pls guide..as i am missing something..
    regds
    Kumar

    Hi,
    Please make sure the transaction is in change mode.
    Regards,
    Masa

  • Agent assignment for a task group

    Hi,
    I have created a TAsk group which has two workflows inside. But when go for the agent assignment for the task group via OOCU tcode, it is not showing the workflows under the task group.
    Plz let me know wht may be the problem...
    Thanks,
    Sivagami

    Hi,
      I am not able to assign agent through task customization [ OOCU Tcode ]. But I am able to assign in PFTC tcode.
      Any clues?
    Thanx,
    Sivagami

  • Assigning USER values in the task of workflow

    Hi Experts ,
    I am using the USER option in the task to sending workitem to the perticular user which i have given in the user option .
    I am doing this in development .
    When i will move my workflow to Production then if the user id which i have given in develpment will not be present in production then my workflow will not work there .
    And in production also we may not change the user id ,
    so is there any way through which we can able maintain the userid values in production .
    Note : I want to use the USER option in the task not through the expression option .
    thanks
    sarmistha

    Hi Sarmistha,
    Please check this PDF for Adhoc assignment to workflow which determines agents dynamically..
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5023ddbd-de8d-2a10-d7a2-c9910d1ed6ad
    Check this link which also gives you help in assigning agents at runtime using Adhoc step in Workflow
    http://****************/Tutorials/Workflow/adhocAgent/Assignment1.htm
    Hope this would help you.
    Good luck
    Narin

  • Agent assignment problem for activity in workflow

    Hi Experts,
    I have created an activity task for calling MM02 transaction in my workflow. I need to send this workitem to multiple people. I am using an expression in the place of agent assignment available in Control tab of the task. Now this assignment is not recognized by workflow, it shows error "Task TS90000070 has no agent assignment. Please suggest how to fix it, or if there is any other method available to send workitem to multiple people. Note: I am not using standard organizational management feature here.
    Thanks,
    Ashok

    Hi Ashok,
    It seems you have not assigned possible agent for this task. Please follow these steps.
    Execute PFTC transaction and take 90000070 in change mode.
    Now goto Additional Data -> Agent Assignment -> Maintain.
    This will take you to another screen where you can find the task 90000070. Click on the first button (Create Agent Assignment) on the application toolbar. This way you can assign an agent if you are using organizational management.
    If not, then make it as a general task. For this click on the 'Attributes' button and select the 'General task'.
    Hope this is helpful.
    Thanks
    Vinod

  • I have assigned standard task as General Task in agent assignment but why there is a red flag beside the agent assignment property in task property like the image below?

    I have assigned standard task as General Task in agent assignment but why there is a red flag beside the agent assignment property in task property like the image below?

    Hi Atiq
    Now that's concerning.....!!!
    This error usually shows up when the workflow is not able to resolve the outcome of the decision....no branch is there for the selected decision.
    Since, the standard workflow is also going in an error....this is something wrong...
    Did anyone play around with the standard decision task?
    I am not sure if this will help, try generating the task and standard workflow by executing the FM SWD_WFD_REPLICATE_FROM_9999 from SE37 directly. First, generate the task (give full task ID TS00008267 as the input and execute; and then the standard verification workflow in the next exec).
    Try and test again...if this works, generate your custom workflow again like this.
    The above is a pure guess and I am not sure if this will work.
    Regards,
    Modak

  • Unable to delete agent assignment from Standard Task 8267 DECISION

    Hi All
    In transaction PFTC_CHG I'm trying to Delete Agent Assignment (Shift + F2), the screen simply refreshes and the action is not performed - the user is not deleted from the Demo Workflows parent folder? I'm not sure how to change or remove this entry? Authorisations check out fine.
    Regards,
    Adrian

    Hi ,
    Go through below links ..i am sure you will find something helpful.
    How to delete agents
    remove assigned agents
    Regards,
    Himanshu Joshi

  • WORKFLOW:Fetching agent for task from organisation plan

    Dear Experts,
    I have created organisation plan.
    Now I want to fetch agent for workflow task from the organisation plan created earlier.
    Can anybody kindly guide how logic can be written for rule to fetch agent for my task in workflow.
    Thanks,
    Sanjay

    Hi Deepthi,
    I guess unfortunately the answeris no. This question has been asked several times, if you search the forum you might find alternative ways to get this done. Check this [link|Can we change the user 'WF-BATCH' for the background task] for example.
    Regards,
    Saumya

  • Assign-To-Do task for groups not showing in My workflow task webpart

    I work with Nintex My workflow task webpart. I have couple of assign to do task actions in my workflow.
    There if Assigned To is Initiator task is added to My workflow task webpart and if Assigned To
    is a group, then task is not added to My workflow task webpart.
    I want to know is that the behavior of Nintex, or something went wrong in my implementation.

    Hi Sivakumar,
    According to your description, my understanding is that you want to display the tasks assigned to a group in Nintex My workflow task web part.
    From the link below we can know that the Nintex My workflow task web part can only query for tasks for the user (queries the database), it only queries based on their login name, not on group membership.
    http://connect.nintex.com/forums/thread/5935.aspx
    As I am not familiar with this Nintex web part, I recommend you to post in this forum:
    http://connect.nintex.com/forums/.
    More Nintex experts will help you.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Error: Result of agent resolution does not agree with agents of task

    Hi,
    I'm getting the error "Result of Agent Resolution does not agree with agent of Task".  I'm passing the agents in Expression which I'm getting from Method in my previous step and passing to workflow container and it is getting passed to Expression. The userid is present in that container. And the Task is assigned as General Task but still I dont know what might be the problem. The ID is with 'US' prefix. Even if I give the userid directly in the Task, it shows the same error.
    Regards,
    JMB

    Hi
    Incase you are using different clients for development and testing, make sure in testing client, task is assigned as general task.
    You may check the way the userid is passed. Please note that the US is object type and Object ID(user id) is different. Both of them should not be part of one string. So while you test, just pass the user id without a prefix US. Hope it will work for u.
    Regards
    Waz

  • Result of agent resolution does not agree with agents of task

    Hello Experts,
       I am trying to configure a workflow for Employee Travel expense, the Business object am using is BUS2089 for event CREATED.
      And am configuring workflow task WS20000040 (Approve trip). and in the work flow builder I am assigning User as an Agent and fixing it to a user say "USER1" for Task 404 (Check trip facts) and for Task 416 (Approve trip facts) again am assigning User as an Agent and fixing it to user say "USER2"
    Now when the Trip is saved using PR05, this work flow is triggerred - which is what i want and it sends work item to USER1,  now when USER1 says Trip facts are consistent the work item should go to USER2 but here it is failing and the log says "Agent determination for step 0000000416 failed" and details say "Result of agent resolution does not agree with agents of task" which is  SWF_RUN 544
    Can you guys help me by telling where am going wrong.  Am i missing some configuration somewhere.
    I have changed the Task properties - Attributes i have changed the task as a General Task,(i did it by navigating through Control Tab of the task)
    appreciate your response.. Thanks
    Usman

    Thanks Novjot
        I made the task as a general task and i see a gree light adjacent to it, but still it doesn't work.
    the way i made it as a general task is as follows:
    1. in the navigation area - select task 416
    2. In the right hand side, on Control Tab in Task properties, click on the Red button and maintain Agent assignment
    3. In Agent Assignment change attributes to General Task - instead of General Forwarding allowed.
    save and activate, and generate runtime version
    Is this correct or any other way?
    Thanks
    Usman

  • Error: You are not one of the possible agents of task 'WS99900032'

    Hi frnds,
        I have copied the std leave request workflow WS12300111 into WS99900032 and assigned in the SPRO setting. The approvers are determined using the workflow rule (PFAC) and its not determined from Org Management. But when i tried to apply leave, its throwing me the error You are not one of the possible agents of task 'WS99900032'.
    Can anyone give me solution to solve it?
    thanks,
    Suganya.

    You are not one of the possible agents of task 'WS99900032'
    You need to refresh the  organizational environment and then execute the workitem
    1. First make the workflow tempalte as General task and then
    Goto PFTC ---> enter the workflow tempalte number by selecting workflow template  ---> open in display mode and on menu Addtional Data ---> agent assignment  ---> Maintian ---> select General task
    2. Goto SBWP  -
    > Seetings  -
    >workflow settings -
    > refresh ornozational environment and then try to execute the workitem

  • You are not one of the possible agents of task 'WS20000081'

    Hi,
    I need to trigger the workflow WS20000081 using the service. This workflow gets triggered by 'Create Leave Request' service which is in ESS.
    To test the above said workflow, I need to execute the service WS20000081 in R/3. But when I execute this service from Service User log-on, it throws an error as follows.
    <b>You are not one of the possible agents of task 'WS20000081'.</b>
    Even after I changed the task assigment as 'General Task', it keeps giving the same error.
    Please suggest me how to solve this problem.
    Regards,
    jey

    There are agents assigned for a task in the workflow.The same role has been assigned to my user id.But it does not work
    I saw in Debug that it tries to execute the Method 'EXECUTE' in the Class CL_SWF_RUN_WORKFLOW_START..which checks for authorization internally.
    I never know why this is failing.
    I checked in another box which is upgraded to ECC .
    There inside the Method Execute it takes a parameter m_task->properties-general = 'X'
    and TCLASS = 'NO_CLASS'.These r passed to the authorization check which succeds there.
    But in this system m_task->properties-general  = '  ' and Tclass = '  '.
    Can anyone pls suggest how to go abt this.

  • Need help with agent determination for release workflow

    Hi,
    I am trying to perform a release in the contract(FS-contract management) by using the framework for principle of dual control. When i create a contract, i get a message that says contract created, not yet released. But i am not able to get the work item in my inbox to release the contract. The SWI1 transaction shows 'no agent' for the triggered workflow. I am using the template WS50100021 as there is only one release step. By default there is a rule '50100017' given for the template. But in the customizing settings i have the section called 'assign rule to release steps'. Do i need to assign a rule here for agent determination. If so, what about the rule in the WS50100021 template? Which one should i use? I am able to execute the method 'release' of object BUSISB001 from SWO1 and release or reject the contract creation. But i am not able to get the workitem in my inbox in SBWP transaction

    Hi Suhas,
    The rule used in workflow template WS50100021 is a standard one. So try to find out that on what basis it is fetching the agents. It could be the case that the logic specified in the rule does not fulfill your requirement.
    The other reason could be that you have not specified the task as general. Please check if the agents tab is activated(green) in the task or not. If it is not you need to set the task as general.
    SOLUTION : if you want to get the workitem in your own SAP Inbox for testing purpose, you can set the WFINITIATOR as agent instead of that standard rule. This setting will send the workitem in your own SAP Inbox.
    Regards,
    Guddan

  • How to assign agent assigment in release strategy WS20000075?

    I have copied  the standard workflow WS20000075 and then created Workflow template and in trigering events tab of the wf template, I have binded the event RELEASESTEPCREATED.I have also done the SPRO settings for release strategy,i.e,that is I have assigned the users for each release code in table T16FW and mentioned the role resolution in the as 1 in the table T16FC.
    The workflow is working fine but I am a bit confused with the agent assigment in the tasks TS20000166 and TS20000168.I have noticed one thing that in the task TS20000166 a default rule 20000027 - Person responsible for PO release,but it does not seem to work.The TS20000168 does not has any default rule for agent.
    Can anyone guide me how i can do the agent assignment for this workflow.
    Message was edited by:
            Babar Haroon

    There is no requirement for default rules.
    Agent for task TS20000168 is assigned in the workflow where it is used.
    If the default rule for task TS20000166 does not seem to work you should first of all check all the obvious potential problems, and secondly (if you haven't found out what the problem is) tell us <u>why</u> you have concluded that it does not work.
    Check:
    1) that the task has either been defined as general task or has possible agents assigned
    2) that your customizing for the release code has "1" as workflow configuration and that there is a valid agent assignment for the code - alternatively "9" as config and the user exit is implemented
    3) that there is overlap between agent assignment for the release code and possible agents for the task

Maybe you are looking for