Loss of tasks agent assignment when transported

I have a task in a workflow with an agent assignment. When I transport the workflow, I lose the agent assignment. How can I fix this? I tried to re-transport the workflow but it did not help things.
A little more information: the agent assignment is to a Position that I had existing in the development environment, but not in the test environment before the first transport of the workflow (I forgot to create it).
I have now created it, but still cannot get the agent assigned.

G'day Anthony,
Are you refering to use of the Position against the Task as a Possible Agent or at the step level as the Responsible Agent?
Typically you don't transport the possible agent info because as you've realised the Org data isn't the same between systems. Realistically you normally would want different possible agents anyway during testing and QA. This does mean that you need to set up possible agents after transport.
If you're refering to step level responsible agent, the use of a position directly is not recommended. In this case you could try using the position as the only possible agent and leave the responsible agent at the step blank (therefore it will go to all possible). Alternatively you can have a simple resposibility rule which will allow you to maintain the position though OOCU_RESP in each system/client.
Good luck,
Mark

Similar Messages

  • Info Message when changing Task Agent Assignment

    Hi Folks,
    When a change the task attributes and save the task then i get an information message Please check the order's object list (inconsistency SOBJ).
    Could you let me know what is the issue due to which this problem occurs and how do we rectify the issue.

    Hi imran,
    Please check the Note : 0134311.
    If the workflow customizing is incorrect then system will show this Error's.
    Thanks,
    Viji.

  • Workflow Task Agent Assignment for PO Rel

    Hello;
    Can someone tell me how the system can be set to forward a work item for the person responsible for PO release, meaning based on the department who own the goods the system should find the person who's the approver of that department.
    Thanks
    Ibou

    Hi ,
    Try assigning a new Agent Rule in the Task TS20000166.
    You will have to create a custom rule using transaction PFAC. Choose option "F - Agent dertermination function to be executed" and assign a new Z function module which will determine your agent.
    You can refer to function module ME_REL_GET_RESPONSIBLE while creating your own function module.
    Cheers!!!
    Gautam

  • 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.

  • Changes in Customizing for agent assignment do not transport well

    Hi,
    We have made changes in some tasks regarding agent assignment (we select the option 'General Task' in the Attributes button). This generates a Customizing request.
    After releasing these 2 requests (Customizing and Workbench), we transport them from Development to Test. But when checking the new workflow in Test, the Customizing modifications regarding agent assignment do not occur.
    We have tried the two possible sequences of transporting the requests: first Customizing and then Workbench, then the other way, with same results.
    Is there any specific order that should be followed to correctly transport Customizing and Workbench requests?
    I appreciate your help!
    Regards,
    Ivson

    Thanks a lot,
    Our wf doesn´t use organizational structure, but checking the transport logs as you suggested (that´s what I should've done first!), has shown an error of type 12 in the last Customizing requests we have sent.
    The log error's header says
    'Method execution 08.09.2006 16:01:39   (12) Canceled',
    Going to the details,
    'Execution of programs after import (XPRA)'
    'Ended with return code:  ===> 12 <==='
    There is also one Workbench request with the same type of error.
    All clues are welcome,
    Best regards,
    Ivson

  • 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

  • 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

  • There is no task in UWL when i assign expression as responsible for a task

    Hi @,
    I create a simple process BPM on Process Composer, there is a task and a service to start this process.
    When i assign specify user for this task (e.x : ABC), i start process using the service, it's ok, there is a task is assigned to ABC.
    But when i use expression to assign for the task, the value of this expression will be mapped with data i input when start process using the started service. There is no task on portal.
    Please give me some advices,
    Thanks

    Sorry, here is trace message:
    An error occurred while executing transition START_TASKFLOW_Review_Timesheet(Token_0_P03_Timesheet_Process_0660a0655e09d2a43f917ec81589b112(Instance_0_P03_Timesheet_Process_0660a0655e09d2a43f917ec81589b112(null,null,null,false),1), Instance_0_P03_Timesheet_Process_0660a0655e09d2a43f917ec81589b112(null,null,null,false), Context_1_DO_PersonInfoType_0660a0655e09d2a43f917ec81589b112(Instance_0_P03_Timesheet_Process_0660a0655e09d2a43f917ec81589b112(null,null,null,false),Scope_16_New_Pool_0_0660a0655e09d2a43f917ec81589b112(Instance_0_P03_Timesheet_Process_0660a0655e09d2a43f917ec81589b112(null,null,null,false)),1,true), View_4_Default_ExcludedOwners_0660a0655e09d2a43f917ec81589b112(Instance_0_P03_Timesheet_Process_0660a0655e09d2a43f917ec81589b112(null,null,null,false),Scope_6_New_Pool_0_0660a0655e09d2a43f917ec81589b112(Instance_0_P03_Timesheet_Process_0660a0655e09d2a43f917ec81589b112(null,null,null,false)),0,false), View_5_Default_PotentialOwners_0660a0655e09d2a43f917ec81589b112(Instance_0_P03_Timesheet_Process_0660a0655e09d2a43f917ec81589b112(null,null,null,false),Scope_8_New_Pool_0_0660a0655e09d2a43f917ec81589b112(Instance_0_P03_Timesheet_Process_0660a0655e09d2a43f917ec81589b112(null,null,null,false)),0,false)): com.sap.glx.core.kernel.api.TransitionRollbackException: Exception during prepare, rolling back
    at com.sap.glx.core.kernel.mmtx.AbstractTransactionBase.rollback(AbstractTransactionBase.java:538)
    at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:174)
    at com.sap.glx.core.kernel.mmtx.AbstractTransaction.commit(AbstractTransaction.java:77)
    at com.sap.glx.core.kernel.execution.LeaderWorkerPool$Follower.run(LeaderWorkerPool.java:120)
    at com.sap.glx.core.resource.impl.common.WorkWrapper.run(WorkWrapper.java:58)
    at com.sap.glx.core.resource.impl.j2ee.ServiceUserManager$ServiceUserImpersonator$1.run(ServiceUserManager.java:116)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAs(Subject.java:337)
    at com.sap.glx.core.resource.impl.j2ee.ServiceUserManager$ServiceUserImpersonator.run(ServiceUserManager.java:114)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:169)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:266)
    Caused by: com.sap.glx.core.kernel.api.TransitionRollbackException: Exception during prepare, rolling back
    at com.sap.glx.core.kernel.mmtx.AbstractTransactionBase.rollback(AbstractTransactionBase.java:538)
    at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:174)
    at com.sap.glx.core.kernel.mmtx.AbstractTransaction.commit(AbstractTransaction.java:77)
    at com.sap.glx.core.kernel.mmtx.PrimaryTransaction.inPrepare(PrimaryTransaction.java:88)
    at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:172)
    ... 11 more
    Caused by: com.sap.glx.core.kernel.api.TransitionRollbackException: Exception during prepare, rolling back
    at com.sap.glx.core.kernel.mmtx.AbstractTransactionBase.rollback(AbstractTransactionBase.java:538)
    at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:174)
    at com.sap.glx.core.kernel.mmtx.AbstractTransaction.commit(AbstractTransaction.java:77)
    at com.sap.glx.core.kernel.mmtx.DirectNestedTransaction.inPrepare(DirectNestedTransaction.java:58)
    at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:172)
    ... 14 more
    Caused by: com.sap.glx.core.kernel.api.CancelTransitionException: java.lang.IllegalArgumentException: Identifier '$principalId' invalid
    at com.sap.glx.core.internaladapter.ExceptionAdapter.raiseException(ExceptionAdapter.java:540)
    at com.sap.glx.core.internaladapter.ExceptionAdapter.raiseException(ExceptionAdapter.java:511)
    at com.sap.glx.core.internaladapter.Transformer$ClassRegistry$MapperClassManager$MapperClassHandler$MapperInvocationHandler.createTransitionException(Transformer.java:2033)
    at com.sap.glx.core.internaladapter.Transformer$ClassRegistry$MapperClassManager$MapperClassHandler$MapperInvocationHandler.invoke(Transformer.java:2053)
    at com.sap.glx.core.internaladapter.Transformer$TransformerInvocationHandler.invoke(Transformer.java:576)
    at com.sap.glx.core.dock.impl.DockObjectImpl.invokeMethod(DockObjectImpl.java:463)
    at com.sap.glx.core.kernel.trigger.config.Script$MethodInvocation.execute(Script.java:247)
    at com.sap.glx.core.kernel.trigger.config.Script.execute(Script.java:670)
    at com.sap.glx.core.kernel.execution.transition.ScriptTransition.execute(ScriptTransition.java:64)
    at com.sap.glx.core.kernel.execution.transition.Transition.commence(Transition.java:241)
    at com.sap.glx.core.kernel.mmtx.DirectNestedTransaction.inPrepare(DirectNestedTransaction.java:57)
    at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:172)
    ... 17 more
    Caused by: java.lang.IllegalArgumentException: Identifier '$principalId' invalid
    at com.sap.glx.mapping.execution.implementation.node.PrimitiveNode.readContainer(PrimitiveNode.java:32)
    at com.sap.glx.mapping.execution.implementation.node.PrimitiveNode.readContainer(PrimitiveNode.java:7)
    at com.sap.glx.mapping.execution.implementation.Interpreter$SourceResolver.resolveSourceReference(Interpreter.java:81)
    at com.sap.glx.mapping.execution.implementation.Interpreter$SourceResolver.resolveSourceStep(Interpreter.java:89)
    at com.sap.glx.mapping.execution.implementation.Interpreter$SourceResolver.resolveSource(Interpreter.java:67)
    at com.sap.glx.mapping.execution.implementation.Interpreter$SourceResolver.<init>(Interpreter.java:56)
    at com.sap.glx.mapping.execution.implementation.Interpreter.mapPart(Interpreter.java:145)
    at com.sap.glx.mapping.execution.implementation.Interpreter.mapPart(Interpreter.java:151)
    at com.sap.glx.mapping.execution.implementation.Interpreter.mapPart(Interpreter.java:151)
    at com.sap.glx.mapping.execution.implementation.Interpreter.mapMapping(Interpreter.java:140)
    at com.sap.glx.mapping.execution.implementation.Interpreter.map(Interpreter.java:135)
    at com.sap.glx.core.internaladapter.Transformer$ClassRegistry$MapperClassManager$MapperClassHandler$MapperInvocationHandler.map(Transformer.java:2071)
    at com.sap.glx.core.internaladapter.Transformer$ClassRegistry$MapperClassManager$MapperClassHandler$MapperInvocationHandler.invoke(Transformer.java:2048)
    ... 25 more

  • 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

  • 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,

  • Extended Notification not working for Dialog Task with agent assignment

    Hi Friends,
    I have an issue where I have a user decision step and a sub workflow contains a dialog task with agent assignment.
    Extended notification is configured properly and is working properly for user decision step but its not working for the dialog task created as an activity.
    Batch jobs are configured to run report SWN_SELSEN.
    I was checking SDN and found this discussion handy :
    http://help.sap.com/saphelp_nw73ehp1/helpdata/en/4f/3bed495cc018c8e10000000a42189e/content.htm
    One thing that wonders me is that notifications show up in SOST 4-5 seconds before the user decision step starts execution.
    See screenshot from SOST and WF log.
    SOST log :
    2 questions here: Why is notification not being sent for Dialog task?
                              Why is user decision notification being sent that early even before the User decision task starts execution?
    Please provide your valuable inputs.
    Regards,
    Sandip

    An activity step with agents is supported by the extended notifications if it is a decision task or not, I have used it many times and it works well just no approval/rejection links if it's not a decision task.
    From your screenshot you can see that a mail has been created and is found in SOST, usually this cases are problems with the mail server or connection to it, check the mail settings in the SMTP node in transaction SCOT, also check with mail server team if there is a block to/from the SAP server.

  • 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

  • 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

  • In a Real time project what would be the agent assignment attribute setting

    Dear Experts,
    I have never worked on a workflow project. I have been only practising workflow on a IDES system. I would like to know in a real live production system what settings do we use when we define the agent assignment at the task level? Do we set the attribute as GENERAL TASK always?
    To be more specific as in the task attributes we have many options like
    GENERAL TASK
    GENERAL FORWARDING ALLOWED,
    GENERAL FORWARDING NOT ALLOWED AND
    FORWARDING NOT ALLOWED.
    From the first three options which is most generally used in a real time projects?
    AND
    is it necessary to always set the attribute as GENERAL TASK before transporting the workflow definition to other systems from the development system?
    appreciate your help on the same.
    cheers
    chky

    Hello Learner,
    It depends on the requirement, but in most of the cases we assign the task as general task.
    To have some more information on the various attributes,
    ·        General task
    If you define a task as a general task, all users can execute the task. This is useful if the task is used in a workflow and you only want to define the recipients in the step definition. A recipient can forward associated work items to all users.
    Work items whose tasks are defined as general tasks and for which no responsible agents or default rules are defined are offered to all users of the SAP System for execution in their Business Workplaces.
    ·        General forwarding allowed
    A work item that represents a task with this property can be forwarded by one of its recipients to all users, even if they are not possible agents of the task.
    ·        General forwarding not allowed
    A work item that represents a task with this property can be forwarded by one of its recipients only to the possible agents of the task.
    ·        Forwarding not allowed
    A work item that represents a task with this property cannot be forwarded by one of its recipients.
    Hope this will help.
    Regards,
    Sam

  • Agent Assignment Missing

    Hi Experts,
    I have created a custom workflow which has a user decision step. We have used a rule for agent assignment and we have also maintained General task: can be edited by all users. We have implemented deadline monitoring for this step.
    When we moved this workflow to QA, agent assignment (General task: can be edited by all users) was not transported.
    Now when we executed the workflow, agent was not determined, but still deadline emails were triggered.
    Is this correct ? Shouldnt the workflow go into an Error state as no agent was determined ?
    Note: I know that we can transport agent assignment using RE_RHMOVE30.
    Thanks.

    Requested start states , when the workitem must be  sent to user's inbox, In Simple, it mentions after how much interval of time the workitem will in the user's inbox
    In your case after 3 Mins of.... (check it)  the workitem will be in the user's inbox,
    and coming to Latest End  , it is a grace period to user to act on the workitems, if user does not act on the workitem then this deadline is reached, in your case teh suer has give one day , if he does not act on the workitem with in one day the deadline is reached.

Maybe you are looking for

  • How can I create an additional @ me e-mail address

    Hi, I have a @me.com e-mail and when I got my mAC, a friend helped set up 3 others.  When I send an e-mail, I use the drop down menu to select which e-mail to have it come from. I do not recall how he set it up.  I need to create another one. and I a

  • Validity period to be next year

    Hi, we have scenario where in we are supposed to generate quota on August 1 st of this year with validity and deduction period being the next year ( ie .1.1.2010 - 31.12.2010) . we use both pcr s and config. for quota generation. In the PCRs we speci

  • Struts Application Properties

    I think this has been broached before, but if someone could restate the answer, I           would be most obliged:           It appears that WLS 6.1 SP2 does not load properties files (like the typical Struts           Application.properties) when it

  • Can't see printer on PC with airport extreme

    I've been running an Airport Extreme for a couple of years and the printer and internet work great. Just added a PC running Vista, I have to connect to the internet on my iBook before I can connect on the PC. The PC does not see the wireless printer

  • Can any body help me to create a meaningful repository in SAP MDM

    Hi , I am new to this area . I have read the RKT material provided for MDM 5.5 SP4 and have the software installed with me . I know how to create repositories but what I am looking at is some help where someone can provide me with some repository str