Agent Assigment to Task

Hello All,
I am using a worflow that uses the same sub-workflow in two separate steps. The sub-workflow has a rule for agent determination.
However, in the second step I want to have a fixed user as the agent. But ofcourse, if I change it in the second step, it reflects in the first step too since the change affects the sub-workflow itself, which is the same in both steps.
Is there a way I can set the user on the step itself? Or is there anything else I can do other than copying the sub-workflow and changing the workflow?
Regards,
Motaz

Hello,
That's easy, just pass a parameter to the subworkflow when you call it, then it will know when it has to get the fixed agent.
You can pass the value using the binding. Of course, you will have to make a slight change to the subworkflow.
regards
Rick Bakker
hanabi technology

Similar Messages

  • 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

  • How to create an agent like a task

    Hi EH&S Gurus
    In the EH&S documentation it's said that we can create an agent like a task from the Organizational Management (PA-OS) component.
    I 'm new to EH&S and in don't find the way to do it.
    In the customizing we have a TASK agent type but we can't create a it with transaction CBIH92.
    From the help.sap.com :
    "An agent can, for example, be a specification, a material, or a task from the Organizational Management (PA-OS) component."
    Thanks a lot for your help
    Samuel

    Hi Samuel,
    You can get create an Agent as a Task by using the following steps:
    1. Go to Customizing --> EHS --> Industrial Hygiene & safety --> Risk Assessment --> Specify Agent Types
    2. Click on "TASK' Agent type and click on Details icon (CtrlShiftF2)
    3. In the "Only EHS-IHS" drop down, Select "No"
    4. Save the entry
    5. Now try creating an Agent [CBIH92] and you can create an Agent as a Task.
    Hope it Helps,
    Raghu

  • WorfFlow Agent Assignment at Task Level...

    Hi,
    I have problem in Workflow agent assignment...
    In agent assignment at Task (MM Invoices Parked/Posted) level, I have assigned a position(Account Payable)to AC Role...
    Under this position, there are 8 users....
    In the Workflow process,At this task level the work item is going to only one person inbox not all these 8 users...
    Can you please advise me, where I was wrong...
    Warm Regards,
    Thirupathi....

    Hi Thirupathi,
    There are a couple of things you can try:
    - Agent assignment gets buffered in HR, normally refreshed at midnight. Use txn SWU_OBUF to refresh them manually.
    - Are all agents also possible agents of the task or is the task defined as a general task?
    - (just adding the obvious) make sure your task is in status READY, else it would have been reserved by someone.
    Cheers
    Mike

  • ESS - ws01000109 - You are not of the possible agents of the task

    Hi
    When I try to cancel leave using workflow ws01000109 it is raising message
    "You are not of the possible agents of the task ".
    Can any body tell wheather we have to maintain data in pa30 transaction for this problem.
    I have seen so many thread regarding this But I have not got any answer please reply for the same
    I have set all tasks as general task only.
    Edited by: balaji ramadas on Jun 8, 2009 4:01 PM

    Hello,
    You would be better off starting your own thread, and I hope that unlike the poster above you will share the result when you find a solution.
    Has your task been set to General Task? If not, try that.
    regards
    Rick Bakker
    Hanabi Technology

  • ESS- Leave : You are not one of the possible agent for the task ws9021212?

    Hi ,
    I have copied the standard workflow template wa12300111 and assigned the new template in the customizing. When i apply leave from ESS working time , it says an error " You are not one of the possible agent for the task ws9021212? " .
    The similar kind of Error i have solved before in by making the workflow as GENERAL TASK in PFTC as follows.
    PFTC -> Choose "Workflow Template" from the drop down -> Enter the workflow template id "ws9021212" in the text box -> now click on "change" button -> Now goto the menu addional data -> agent assignment -> maintain -> select the task text -> and set it as general task.
    i have cleared the buffer also!
    BUT STILL I AM GETTING THE ERROR ?
    Please help me !
    Richard A

    hi Richard
    Try to do this way.  IN the workflow builder there is a button with hat. that is basic data. click on that and  it will go to another screen and u can find a apple button that is agent assignment for a task click that.
    It will open maintain agent assignment screen. click the text below that and click the attribute button and click the genral task. i think this will solve ur issue.
    If helpful kindly reward points
    Regards
    vijay

  • Agent assignment for task

    Hi,
         I have copied the standard task TS00008267( Generic Decicion Task) into another task. But when i use the new task, it says no agent assignment.
    when I looked into agent assignment mentioned for  TS00008267( Generic Decicion Task), it has got "Demo workflows" and "Records Management" as 2 task groups maintained in it.
    How can I add these 2 inside my own created task which is a copy of TS00008267 ?
    I am new to the workflow concepts. Any help is aprreciated and rewarded.
    Regds
    Gautam

    You don't need to add those task groups, but you should make it a generic decision task.
    1) Go to PFTC, open your copied task in change mode
    2) Select menu item "Additonal data", "Agent assignment", "Maintain".
    3) Select the top line in the screen (there is probably only one), the one that has the ID of your task (TS 9nnnnnnn) and press the button "Attributes" (or select menu item "Edit", "Attributes")
    4) Select the radio button "General Task"
    5) Close dialog box, F3 out to the main menu
    Done. ... Unless the task was already a general task. Then there is something else wrong.
    Message was edited by Kjetil Kilhavn:
    Shame on me. Yes, you should search the forums as Martin reminds you - I should have mentioned that. Saves both you and us a lot of time. You find your answers sooner, we don't have to answer the same questions over, and over again.

  • Error in Agent Assigment

    Hi everbody..
    I want to assign a task to a user. (Task call a tcode by BOR method) .
    I works when I put this task begining of the WF. But When I put this task after a decision, workitem can not assign a agent and, it's statu came out "logically deleted" automatically.
    Could anybody help me.

    Please check whether there the desision task is present inside and a fork in 1 branch and any Wait for event step that is present in the other branch of the fork.
    Thanks
    Arghadip

  • MSSQL 2005 SSIS SQL Agent Job - Process Task Hang

    I am trying to setup a schedule for a SSIS package within MS SQL 2005 SQL Agent Job queue with as a File System source, with configuration files containing passwords as it is encrypted sensitive with password.
    Step#1 [data collect] runs ok. Step #3 [email results] runs ok.
    Step#2 of the SSIS package is a Process Task which calls a batch file, opening a console application, and calls a MS ACCESS macro for some queries. This process hangs - it runs on until i stop it, but does not generate any errors. Within the Task Manager,
    I can see an instance of the command and MSACCESS, but the macro does not run.
    I am running Win7Pro [32bit], MSSQL2005, MSVS2005, and MSACCESS2010. The SSIS Package Run64BitRuntime was TRUE by default, even though I'm on a 32bit system. I have set this to FALSE.
    The package runs from within BIDS, from DTUtil, from the Package Execute tool, and from the Windows Scheduler. I have enabled permissions for the SQLAgent to the local file system where the exe is stored. I have not setup a proxy account to run the task
    under.
    Would it be a permission issue if the job can read the batch file and instantiate MSACESS, but not launch the macro within?

    It is a permissions issue. MSACCESS is being run with local admin when run outside of the SQLAgent. When MSACCESS is instantiated via the SQLAgent it wont run.
    I will need to setup a proxy account.

  • Deadline agent for a task

    Any table or function module available to get the deadline agent of a workitem ?  .
    Thanks,
    Sarath.

    Hi,
    You mean from the workflow definition? Or when it has been reached?
    When it has been reached you have the workitem number and just any of  the available sap_wapi* function modules to retrieve the necessary information.
    What are you trying to achieve anyway, maybe there is a better way to fulfil the functional / business requirement
    Kind regards, Rob Dielemans

  • Agent Assignment for tasks

    Hi,
    i have created a ECM WF.
    Now i wanna do d "Agent Assignment"
    Requrement is if User A checks the ECR then User B shud approve it.
    If user X checks the ECR then User Y shud approve it and so on.
    Thus my requirement is Hierarchy based i.e. depending on the departments hierarchy.
    Can anybody tell me how to achieve this.
    Rgds & Thanks

    Hi,
    If your requirement is in such a way that....
    for user X .... user Y is the approver
    for user A..... user B is the approver,
    then you can use the concept of Rule with responsibilities where in which you can find the approver based on a particular condition. The documentation to create the same can be found from the link below from help.sap.com
    http://help.sap.com/saphelp_470/helpdata/EN/ef/3dc9469bbe11d189470000e8216659/content.htm
    Hope this will help.
    Thanks,
    Samson

  • Error message while assigning agent to workflow task

    Hi guys,
    I have a serious problem in my workflow definition.
    I can't assign the superior of workflow intiator, I mean that the binding can't be defined automatically when I add the rule 00000168, I have the error message
    "container element ORG_OBJECT does not exist"
    Any help please? How can I create this manually?

    See SAP note 887415.

  • Result of Agent resultion doesnot agree with agents of task

    Hi,
    i am getting the following error for Zdecission task Result of Agent resultion doesnot agree with agents of task .
    This may be due to possible agents for task.
    where i need to do possible agents classification for task.

    You go to transaction Code
    PFTC->Standard Task->Provide respective standard Task->Change->Additional Data from menu->Agent assignment->Maintain->Create Agent assignment button top left
    Thanks
    Arghadip

  • Agent assignment to workflow task

    Hi all,
    1) I have assigned a workflow(sub workflow) in a activity step in main workflow and assigned workflow task no ws99900258 in that step.i have tried to assign agents as general task.
    i couldn't do it.its showing that please place the cursor..some thing.
    Kindly let me know how to assign to a workflowid.
    2) in another workflow i am facing the problem is "mandatory import element(workflow container object(z_plm_sbc) is not explicitly provided".
    Kindly let me know how to rectify this error.
    Regards,
    Ramesh.

    Hi Ramesh,
    1. Open the workflow ws99900258 in tcode PFTC,
         Menu options -- > additional data-->agent assignment --> maintain --> select your workflow (this is where you are missing)
         click on "atttributes' buttone..
         Make it as general.
    2. In your workflow some of the elements are mandatory,  pass the required value into that element.
    This is you have to mention in the Binding ..
    Regards,
    Murali Krishna,

  • Workflow with no agents on tasks

    Hello friends, needing some help pls.
    I am using a WF combined with the Organizational Structure form HR to get the agents for each task.  There you go the doubts:
    1.     What can I do or how could I avoid a task for the workflow with no agents on the run time when   the position of the Org. Struct. belonging to this task doesnu2019t have any SAP user (infotype 105) linked to it? Or linked to the respective position , person or employee  because there is a vacancy for this position?
    2.     in a workflow which uses role 168 (Manager ofu2026) generate errors when the respective position has no SAP User linked by (infotype 105),u2026u2026Because there is a vacancy for this one or whatever,u2026  how can avoid it and control this errors or look for the next level in the Organizational Structure.
    3.     Which could be a best  practice to model when somebody goes out from the enterprise and thereu2019s no replacement for this guy for some days but the user have to be removed anyway  and there is no chance to assign substitutes to this user because the only thing that remains in the workflow is the position,  the agent for the task in the workflow makes reference to this position.
    4.     Can I assign substitute to a position from the Organizational Structure? and not to the user.
    Thanks a lot.
    Felipe

    Thanks Yogesh,
    This is a good solution but our situation right now is:u2026there is a vacancy in one position in the Organizational Structure and there is no sap user linked to this position and the company has the policy to donu2019t assign a sap user if there is nobody doing this job but there is a release strategy pointing to this position, so We have to assign a substitute for this position. The problem is that I need the user on this position to assign a substitute (position or SAP user), is that right?, but because the policy of the company, I canu2019t assign a user.
    I donu2019t know if I was clear explaining  my problem, I hope so, but If I donu2019t, Iu2019ll try again.
    Thanks a lot for your help.

Maybe you are looking for

  • Error in 'Call Assess IO' in v10.3 DS call through IO

    HI All, We have created a new BO with MACD Order Entry-Orders BC and created a IO andf passing the Id of the BC. In the rule we are just cheching ig Id is known then it should return a string. We are invoking the call from a button and it is throwing

  • JV variant report error - Unable to determine joint venture details

    Hi Guys, We are testing some of our FX variants and are running into a few JV errors that are preventing us from completing the BDC test session. The transaction which we used is customized one ZFICFX and variants involved are REAL FX. While running

  • Seq of possible taxes for country IN is limited up to 9

    Hi, We have configured the FI Tax procedure and the same condition types are using for the SD Pricing procedure. But thing is, based on our client requirements, we have created 15 condition types to arrive the accounting requirements. So, to create c

  • Accounting Determination -FKFR  function is missing

    When I created the accounting document it doesn't release the accounting document to Finance and it comes up with the message - For object RF_BELEG YASH, number range interval 01 does not exist FBN1 Message no. NR751 Diagnosis The database table NRIV

  • Writing an if-then statement

    I would like to write an if-then statement that would hide an element (image of a pause button) when the main timeline is stopped. I have a play forward button that when pressed will switch to a pause button. The same happens for the play reverse but