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.

Similar Messages

  • 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

  • Agent resolution does not agree with agents of task

    Hi Guys,
    I extended B.O-IDOCAPPL to ZIDOCAPPL to catch the inbound error for the IDOC.
    The workflow gets triggered correctly when we get the inbound error.
    In the workflow i created a custom display method....this is a dialog method. Now when the workflow comes to this point it gives the message in the technical log
    <i>" Result of agent resolution does not agree with agents of task"    </i>  
    <b>Now instead of calling this method if i just put a user decision it shows up fine in the users inbox.</b>
    I have tried SWU_OBUF , Refresh from SWUS , Refresh from Inbox
    Nothing seems to work, anyidea as to what's happening here ?
    Message was edited by:
            Abhishek Dhoundiyal

    I have tried :
    1.) hardcoding user ID
    2.) using a role
    3.) using WF initiator...
    This is set up as a general task......
    One interesting observation that i had... (If the below is irrelevant please ignore)
    If i run the task via SWUS it executes but still does not evaluate the agents.. and then if i execute the workitem in SWIA it lets me execute...
    Now if i trigger the workflow it executes but still does not evaluate the agents but it does not allow me to execute the workitem in SWIA , the technical log says workitem not found.

  • 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

  • Error when associating workflow with Task Content Type

    Using SharePoint Designer 2010, I have created a simple workflow that sends an email out when a tasks due date has past.  I created this as a Global Workflow and then tried to "Associated to Content Type", selecting "Task".  I am then taken
    to... COMPANY PORTAL--> Site Settings--> Site Content Types--> Task--> Add a Workflow. When I try to associate the new "Global" workflow and select OK I get the following error...
    Error
    Workflows may not be associated with content types whose base is on 'WorkflowTask'.
    I have looked up the error but find no real explination of what it means.  And I have associated global workflows with custom content types and never had this issue. 
    So what's going on?
    Thanks
    Steve
    Thanks in advance for your time. Steven

    Hi ,
    I understand that when you bind the workflow to Tasks content type, there is an error. I can reproduce this error. This is because we cannot add a reusable workflow to a workflow tasks content type. When you add the reusable workflow to the Tasks content
    type, you must have checked the ‘Add this workflow to all content types that inherit from this content type’. In this way, the workflow will be added to all the Tasks content type and workflowtasks content type. There will an error. After you close the error
    message, the workflow is added to the Tasks content type.
    The workaround is the check No to ‘Add this workflow to all content types that inherit from this content type’.
    Thanks,
    Entan Ming
    Entan Ming
    TechNet Community Support

  • Report for outstanding workflows and the agents responsible

    I need a report that shows all leave request workflows , with userid who created them and approver (agent), and approver's org unit and personnel number.
    is there a standard SAP report that can show that? or I need to develop one?
    I was looking at the SWI2_FREQ, this report shows the leave request workflows and userid who created them, but it does not report on the agent.
    Regards,
    Tiberiu

    Hi
    I think by making use of SAP_WAPI_WORKITEMS_TO_OBJECTS you can get all the workitems who created the leave wokritems.
    Regards
    Pavan

  • Oracle Workflow Java Activity Agent not starting up

    Hi,
    I am trying to start the Java Activity agent of Oracle workflow.
    As specified in the installation and setup guid I am running the following script (for NT):
    wfjvlsnr user/password@connectString
    The activiy agent does start up but then I get a NullPointerException in the main thread of the Java Activity Agent class.
    Appreciate you help.
    thanks.
    Here is the dump.
    E:\Ora9idb\wf\admin>rem ******************************************************
    E:\Ora9idb\wf\admin>rem $Header: wfjvlsnr.bat 26.5 2001/07/02 09:13:06 smayze
    ship $
    E:\Ora9idb\wf\admin>rem USAGE:
    E:\Ora9idb\wf\admin>rem 1) Workflow Schema User/Password@Database
    E:\Ora9idb\wf\admin>rem 2> "Workflow Schema User Password Database [protocol
    [charset]
    E:\Ora9idb\wf\admin>rem To disable output, use the jrew command instead of jre
    E:\Ora9idb\wf\admin>rem ******************************************************
    E:\Ora9idb\wf\admin>set WF_UN=workflow/workflow@workflow
    E:\Ora9idb\wf\admin>set WF_CHARSET=
    E:\Ora9idb\wf\admin>IF "" NEQ "" set WF_CHARSET=-DCHARSET=
    E:\Ora9idb\wf\admin>set WF_CLASSPATH=;e:\Ora9idb\wf\java;C:\PROGRA~1\Oracle\jr
    1.1.8\lib\rt.jar;e:\Ora9idb\wf\java;e:\Ora9idb\jlib\wfjava.jar;e:\Ora9idb\wf\x
    \java\lib\xmlparserv2.jar;e:\Ora9idb\jlib\wfapi.jar;e:\Ora9idb\jdbc\lib\classe
    11.zip;e:\Ora9idb\jlib\share.jar;e:\Ora9idb\jlib\ewt3.jar;e:\Ora9idb\jlib\ewt3
    ls.jar;e:\Ora9idb\jlib\swingall-1_1_1.jar;
    E:\Ora9idb\wf\admin>"C:\PROGRA~1\Oracle\jre\1.1.8\bin\jre" -classpath ";e:\Ora
    db\wf\java;C:\PROGRA~1\Oracle\jre\1.1.8\lib\rt.jar;e:\Ora9idb\wf\java;e:\Ora9i
    \jlib\wfjava.jar;e:\Ora9idb\wf\xml\java\lib\xmlparserv2.jar;e:\Ora9idb\jlib\wf
    i.jar;e:\Ora9idb\jdbc\lib\classes111.zip;e:\Ora9idb\jlib\share.jar;e:\Ora9idb\
    ib\ewt3.jar;e:\Ora9idb\jlib\ewt3-nls.jar;e:\Ora9idb\jlib\swingall-1_1_1.jar;"
    nojit oracle.apps.fnd.wf.WFFALsnr workflow/workflow@workflow
    Oracle Workflow 2.6.0 JAVA Function Activity Agent
    Connected to workflow@workflow with character set UTF8
    Listening...
    Wed Aug 28 12:14:11 GMT+05:30 2002 Executing TEST_REQ/9996 test.SelectApprover
    PUT APPROVER_NAME=CDOUGLAS
    Wed Aug 28 12:14:11 GMT+05:30 2002 Enqueuing TEST_REQ/9996 test.SelectApprover
    Wed Aug 28 12:14:11 GMT+05:30 2002 Executing TEST_REQ/9997 test.SelectApprover
    PUT APPROVER_NAME=CDOUGLAS
    Wed Aug 28 12:14:11 GMT+05:30 2002 Enqueuing TEST_REQ/9997 test.SelectApprover
    Wed Aug 28 12:14:11 GMT+05:30 2002 Executing TEST_REQ/9998 test.SelectApprover
    PUT APPROVER_NAME=CDOUGLAS
    Wed Aug 28 12:14:11 GMT+05:30 2002 Enqueuing TEST_REQ/9998 test.SelectApprover
    Wed Aug 28 12:14:11 GMT+05:30 2002 Executing TEST_REQ/9999 test.SelectApprover
    PUT APPROVER_NAME=CDOUGLAS
    Wed Aug 28 12:14:11 GMT+05:30 2002 Enqueuing TEST_REQ/9999 test.SelectApprover
    Wed Aug 28 12:14:11 GMT+05:30 2002 Executing TEST_REQ/99910 test.SelectApprove
    PUT APPROVER_NAME=CDOUGLAS
    Wed Aug 28 12:14:12 GMT+05:30 2002 Enqueuing TEST_REQ/99910 test.SelectApprove
    T
    Wed Aug 28 12:14:12 GMT+05:30 2002 Executing WFEVDEME/PO3435 oracle.apps.fnd.w
    XMLGetTagValue
    GET ATTR=REQUESTOR
    GET EVENT=EVENTMESSAGE
    GET TAG=/ORDER/REQUESTOR
    PUT REQUESTOR=BLEWIS
    Wed Aug 28 12:14:12 GMT+05:30 2002 Enqueuing WFEVDEME/PO3435 oracle.apps.fnd.w
    XMLGetTagValue
    Wed Aug 28 12:14:12 GMT+05:30 2002 Executing TEAC_IT1/SYSADMIN JayTestFunction
    PUT TEST_RESULT=JAVA
    Wed Aug 28 12:14:12 GMT+05:30 2002 Enqueuing TEAC_IT1/SYSADMIN JayTestFunction
    Wed Aug 28 12:14:12 GMT+05:30 2002 Executing TEST_REQ/9996 test.ApproveRequisi
    on
    PUT TEST_ATTRIBUTE=This value was set in the Approve Requisition Activity
    Wed Aug 28 12:14:12 GMT+05:30 2002 Enqueuing TEST_REQ/9996 test.ApproveRequisi
    on
    Exception in thread "main" java.lang.NullPointerException:
    at oracle.apps.fnd.wf.WFFALsnr.listen(WFFALsnr.java)
    at oracle.apps.fnd.wf.WFFALsnr.main(WFFALsnr.java)
    E:\Ora9idb\wf\admin>

    Hi,
    I tried to run the same without entering password,but still i am getting error.
    The error description is:
    Oracle Workflow 2.6.3 JAVA Function Activity Agent
    Please Enter Database Password :
    ORA-06401: NETCMN: invalid driver designator
    Unable to connect to nn0734.nucleussoftware.com:1521:asdb
    Accepted arguments:
    java <program> <user> <conStr> [oci8]
    java <program> <user> <conStr> thin
    Where <conStr> is in the form of <host>:<port>:<sid> for thin
    and DB Service name for oci8
    Please Help. Is there any problem with my tnsnames.ora or something else.
    Thanx in advance,
    Sarab

  • Workflow with Object Type LFA1

    Dear Workflow Gurus,
    My business scenario is as follows:
    1. User will create the Vendor Master
    2. Workflow will be triggered to the Manager so that he can check it (Display only)
    Basically, I created a workflow with the following:
    Start Event - BO LFA1 CREATED
    Task - BO LFA1 DISPLAY
    I have tested my workflow at SWDD and SWUE. It is working fine and I get the notification in my SBWP. I can then double click/execute the item in my SBWP Inbox and it will take me to XK03 (Working Perfectly). However, in a real time scenario, when I create a Vendor Master via either FK01, MK01 or XK01, I dont get any notification in my SBWP. Im puzzled as the test at SWDD and SWUE was a success.
    Im wondering whether Im using the correct Object Type and Method for my START EVENT - BO LFA1 CREATED. Please take note that everything is Active, has been binded and I have assigned (Import checkbox) LFA1 in my Workflow Container
    Please advise.

    Hi,
    It looks no event is created from FK01, MK01 or XK01.
    Please activate the workflow event trace and check the event.
    Regards,
    Masa

  • Workflow with delay using ABAP OO

    Hi,
    I am new to workflow and trying to design a workflow where the workflow should be triggered after certain number of days.
    For ex: Suppose the sales order is created. Then, I need to fire parallel workflows for Administrator like -
    1) 10 days after sales order is created contact department X
    2) 15 days after sales order is created, create dispatch order.
    I thought of having a workflow with start event 'ABC' and trigger this event 'ABC' from function module which creates sales order. Then have fork for parallel flows mentioned above. But how can I introduce this delay? I checked wait step, but it waits for an event.
    Also, is there any document/weblog which describes creating workflows along with ABAP class(Not using BOR object). I checked this link
    /people/jocelyn.dart/blog/2006/06/28/getting-started-with-abap-oo-for-workflow-using-the-ifworkflow-interface,
    but it does not give corresponding workflow integration.
    Regards,
    Srini.

    Hi,
    sorry it took so long to answer.
    It is possible to evaluate the latest end date by expression. Therefore you chose expression in field: Reference date.
    To get your requested start, you habe to do some work in advance.
    Create two new container elements in your workflow for your sales order end date -10  and your sales order end date.
    Create a step that calls a Z-Task (you have to create this one!) where you evaluate your Sales order end date and your Sales order end date-10  and write that back into a container element (please check your binding). Alternative back in your workflow include a container operation as a step, where you calculate your latest start date (Sales order end date-10).
    Back in your original Step you can now maintain latest start and end date based on your new container elements.
    Hth
    Ute

  • 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

  • Ad Hoc Workflow  with SAP EP6

    Hi,
    I have to configure Ad Hoc workflow with EP6. How can I configure it? Any document will help me.
    Is Universal Worklist cofiguration is also required for Ad Hoc Workflow?
    Regards,
    Manish

    try this link
    http://help.sap.com/saphelp_nw04/helpdata/en/8f/fb5464e3382f4482833a28af8896a3/frameset.htm
    Click on Administration guide, basic configuration, this will start to walk you though the configuration of collaboration.  Ad hoc work flow is a part of the Universal Worklist.  The Universal Worklist is the aggregation of your R3 workflow tasks plus your Ad Hoc workflow tasks.

  • ISe with NAC agent pop up and Posture waiting

    Hi,
    I have ISE running ver 1.1.1.268. We limited access certain services before authuenticate with ACL-DEFAULT(given below) as per the Trustsec desgin guide.
    Now the issue is that when you have ACL-DEFAULT on the port NAC agent doest not pop-up and doest not start the posture part and saying waiting for Posture validation. When the ACL-DEFAULT removed from the access port NAC agent popup and do the posture validation.
    However we do not want user to get access to network before the authorization and that is the reason we use the ACL-DEFAULT.
    Please can someone advise me how to achieve the above both task. Why the NAC agent does not popup and do the posture when ACL-DEFAULT there in the switch.
    Here is what I have configured on ACL-DEFAULT.
    ip access-list extended ACL-DEFAULT
    remark DHCP
    permit udp any eq bootpc any eq bootps
    remark DNS
    permit udp any any eq domain
    permit tcp any any eq domain
    permit udp any any eq 389
    permit tcp any any eq 135
    permit tcp any any eq 445
    permit udp any any eq 445
    permit tcp any any range 135 139
    permit tcp any any eq 389
    permit tcp any any eq 3268
    permit icmp any any
    remark PXE / TFTP
    permit udp any any eq tftp
    permit tcp any host 172.xx.xx.xx eq 8443 (ISE-Pri)
    permit tcp any host 172.xx.xx.xx eq 8443 (ISE-Sec)
    remark Drop all the rest
    deny   ip any any log
    Appreciate if someone can give a solid resolution and explanation to this.

    Hi Saurav,
    We have already allowed those ports with another acl (ACL-POSTURE-REDIRECT). Our issue is not with the web nac agent.
    The issue is with NAC agent installed on corperate PCs connecting via wired port. With the ACL-DEFAULT it does not pop-up and does not do the posturing, however once we removed the ACL-DEFAULT from the access port, everything works fine.
    Since we do not want any user to access unwanted services before authorization we add this ACL on the access-port and as per the trustsec desgin this has to be there if you want to have ISE with closed mode.
    thanks

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

  • Parallel workflow with final Reviewer in 10.1.3

    Hi,
    I am looking how to implement the equivalent of Parallel workflow with final Reviewer (used in 10.1.2) in our 10.1.3 BPEL version.
    when i used Group Vote + Sigle Approver, it does not give me what i want ............. and how to access the subtasks from a given parent task?
    How to create a parent task with subtasks ???
    thanks
    BG.

    Hi Karl!
    I've the same problem! Did you find any solution for that problem ???
    Thanks,
    Nuno Sénica.

Maybe you are looking for

  • Confirmation of Production order with out goods issue

    Dear All In one of the post the solution is given as below. "<b>Try using user exit "EXIT_SAPLCORF_102" to check goods issue at the time of confirmation using CO11N.</b>" But .. 1. How and where to find this user exit 2. What code to add inside this

  • How can i get back my purchased items after a hard drive and iphone failure?

    My itunes was loaded on my parents computer and the hard drive crashed. I didnt get round to backing up to my laptop and then my iphone crashed and removed everything. How can i get back my purchased items?

  • Dynamic Text for data series ?

    Hi, is posible setting dynamic text in data series when use dynamic value ? We need show Actual Year value and Last Year value in Label for Series. Thank you.

  • Wire Transfer APP

    Hi , Can someone let me know the configurations required to pay this vendor through wire transfer. What is the program and form which is used for this purpose .Program , i suppose is RFFOUS_T.What is the form which is used for this purpose. Regards S

  • Logical AND vs logical OR on empty boolean array

    Just satisfying a curiousity...Can anyone tell me the logic behind this behavior (LV 7.1,8.0 and 8.2 do it)? Logical AND on empty Bool Array = TRUE Logical OR on empty Bool Array = FALSE Of course there are very simple ways to work around this, but i