Agent determination for step 0000000081 failed error in workflow

Hello All,
     I am doing employment verification from ESS portal. In the workflow step I have selected RULE to determine the agent. To configure rule, I double click on rule, on next screen selected "Agent determination - responsibilties" to determine the agent. I configured responsibilties with the valid value ranges and everything but the workflow is going into error! I did research and not sure what I am doing wrong. I checked the workflow container in workflow log and all the values that are supposed to pass to rule container are showing up fine.I keep getting the error:
Agent determination for step 0000000081 failed
Result og agent resolution does not agree with agents of task.
Any feedback you could provide would be greatly appreciated.
Thanks.
Mithun

1. In Transaction PFTC, select Task Type = Standard Task and Task = 01000076
2. display the task details.
3. Now go to Additional data ->Agents Assignment->Maintain
4. Select the task here and click Attributes in the application tool bar.
5. Select the General Task radio button and hit transfer.
-- You have made your task general.
To Synchronise the runtime buffer ,simply excute T-Code SWU_OBUF and hit the Start Synchronization button.

Similar Messages

  • Error in resolution of rule ... for step - Agent determination for failed

    Dear Experts,
    in SRM 7.0 CS, i have come accross the following workflow error:
    I have extended my existing organizational plan for a new site (new CoCo, Plant, Purch Org and Purch Gr). But when i use my test users with this site, i receive a workflow error, that has the following wording in SWI2_DIAG:
    Error handling for work item 000000055347
    No links corresponding to the specified data could be determined
    Error in resolution of rule 'AC40000138' for step '0000000293'
    Agent determination for step '0000000293' failed
    Error during result processing of work item 000000055357
    Error when processing node '0000000293' (ParForEach index 000000)
    Error when creating a component of type 'Step'
    Error when creating a work item
    Error when processing node '0000000293' (ParForEach index 000000)
    Work item 000000055356: Object FLOWITEM method EXECUTE cannot be executed
    Error handling for work item 000000055355
    Can you maybe help me understand, what this error means and how to resolve it?
    Thank you very much!
    P.S. my test users work fine if i drag them to another location in my organizational plan. And also if i take other test user from locations where everything works fine and drag them to this "problem" location, than the same workflow error occures.

    Remove the user from the PPOMA node and add him again.. Sometimes this will solve the issue..
    Thanks!!
    Bharath

  • Agent determination for workflow

    Hi everyone,
    I have a classic issue: I'm trying to assign a workflow task to an agent. The agent should be determined from the container element "APPROVER". In the task I've entered the expression &APPROVER&; however, I'm receiving error "Agent determintaion for step 4 failed..." "Result of agent determination does not agree with agents of task". And, yes, I've made sure the APPROVER element is of type Import and has a proper value.
    I don't get this; I thought setting the agent to the value of the container element should do the job? After all, the container element "APPROVER" comes up in the F4 search help under the Decision tab of the task... what's wrong here?
    The WF works fine if I set the "WF_Initiator" as the agent, however. But, this is a bit limiting in the long run...
    Regards,
    Trond

    Hi Ravi,
    this is what I actually did... but I found another post, with a reply from Ramki Maley, advising me to make the APPROVER of type SWHACTOR. That helped!
    Thanks anyway,
    Trond

  • Problem in agent determination for custom wf of contracts

    Hi
    I've copied standard wf for contracts i.e. 20000079. In my custom wf the step for release contract I've maintained the standard rule 20000029. bcos this rule is assigned for standard one with task 20000172. Am I correct in agent assignment??bcos my agent determination fails and wf goes into error. But if I simulate the rule separately it works fine. So there is no prob in rule,also i've properly binded it with task passing purchasingContract and releasecode.
    Could u pls help me.
    Thanks

    Check that the binding between the workflow and rule are OK. Maybe your workflow is not delivering all the needed parameters for the rule (the same parameters that you are using while simulating the rule).
    Another thing that you should check is that make sure that this is not an authorisation problem. It is possible that the rule is executed by the dialog user (not WF-BATCH) that doesn't have enough authorisations to do all the necessary rule logic. Just give remporarily SAP_ALL to the user who is executing the test.
    Regards,
    Karri

  • Agent Determination for Service Entry (BO-BUS2091)

    HI,
    I am new to workflow and facing below issue.
    I have created a workflow for Service entry sheet approval (BO- BUS2901) and I am having an issue with the agent determination. I am using my own Ztable to determine the possible agents.
    I am using the following code in the FM of the rule I created for determining the agent:
    FUNCTION ZME_SRV_REL_GET_RESPONSIBLE.
    *"*"Local Interface:
    *"  TABLES
    *"      ACTOR_TAB STRUCTURE  SWHACTOR
    *"      AC_CONTAINER STRUCTURE  SWCONT
    *"  EXCEPTIONS
    *"      NOBODY_FOUND
    INCLUDE <cntain>.
    TABLES: essr_rel, essr,zmm_service_mail.
    DATA: object TYPE swc_object.
    DATA: BEGIN OF essrkey,
    lblni LIKE essr-lblni,
    END OF essrkey.
    DATA: verak_user TYPE csks-verak_user.
    REFRESH actor_tab.
    CLEAR actor_tab.
    swc_get_element ac_container 'service' object.
    if sy-subrc eq space.
    essrkey-lblni = object-objkey(10).
    select single * from essr where lblni = essrkey-lblni.
    select single * from zmm_service_mail
    where frggr = essr-frggr
    and frgsx = essr-frgsx.
    if essr-frgzu eq ' '.
    verak_user = zmm_service_mail-pernr1.
    elseif essr-frgzu eq 'x'.
    verak_user = zmm_service_mail-pernr2.
    endif.
    actor_tab-otype = 'us'.
    actor_tab-objid = verak_user.
    append actor_tab.
    endif.
    ENDFUNCTION.
    When I debug, sy-subrc = 8 at swc_get_element ac_container 'service' object.
    What could be the problem?
    Note- I have gone thru below thread but still I am unable to find the error.
    http://scn.sap.com/thread/2017416

    Hi,
    You should re-read the thread that you quoted above. The mighty Sue Keohan suggested a solution.
    Instead of trying to pass a service *object*, and then extracting the key, you can just pass the key itself.  It has type EESSR-LBLN1.
    swc_get_element ac_container 'service_key' lv_service_key.
    if sy-subrc eq 0.
      essrkey-lblni = lv_service_key.
    (etc)
    cheers
    Paul

  • Agent determination for SRM WF

    Hi All,
    I have developed a custom WF i.e. copy of 2 step Invoice approval WF.
    For agent determination, I have put in logic for Adhoc agent, which is working fine.
    My query is that I can have multiple agents for a particular step, which I am able to see when referring to approval preview.
    However when i try to change one of the entries for agent , system replaces <i>all entries</i> with changed entry for an agent.It does not change the one particular agent out of these multiple agents.
    Wanted to know is it the std behaviour that at the time of changing the agent, evenif we have multiple agents , it will be chaged to only one agent - which is being replaced ?
    Awaiting your inputs.
    Regds,
    Akshay

    Hello Abraham,
    To understand what's happened, you will need to debug /SAPSRM/IF_EX_WF_RESP_RESOLVER~GET_AREA_TO_ITEM_MAP and /SAPSRM/IF_EX_WF_RESP_RESOLVER~GET_APPROVERS_BY_AREA_GUID methods from /SAPSRM/CL_IM_WF_RR_PGRP_SC implementing class (interface for BAdI definition /SAPSRM/BD_WF_RESP_RESOLVER from enhancement spot /SAPSRM/BD_WF_AGENTS )
    If mapping between area and item is correct, see why purchasers from purchasing group(s) are not correctly found by debbuging /SAPSRM/IF_WF_AREA~GET_RESPONSIBLE_APPROVERS method from implementation /SAPSRM/CL_WF_AREA_PURCH_GRP.
    Regards.
    Laurent.

  • 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

  • Agent Determination for Service Entry

    Hi Guys,
    I created a workflow based on BO BUS2901 to send approval notification to an approver and I am having an issue with the agent determination. I am using the cost centre owner from the PR associated with the PO for the service entry as the approver.
    I am using the following code in the FM of the rule I created for determining the agent:
    FUNCTION ZME_REL_GET_RESPONSIBLE.
    *"*"Local Interface:
    *"  TABLES
    *"      ACTOR_TAB STRUCTURE  SWHACTOR
    *"      AC_CONTAINER STRUCTURE  SWCONT
    *"  EXCEPTIONS
    *"      NOBODY_FOUND
      INCLUDE <cntain>.
      TABLES: eban, essr_rel, essr, ekpo, ebkn, csks.
      DATA: object TYPE swc_object.
      DATA: BEGIN OF essrkey,
               lblni LIKE essr-lblni,
               ebeln LIKE essr-ebeln,
            END OF essrkey.
      DATA: verak_user TYPE csks-verak_user, kostl TYPE ebkn-kostl.
      REFRESH actor_tab.
      CLEAR actor_tab.
      swc_get_element ac_container 'ServiceEntry' object.
      IF sy-subrc EQ space.
        essrkey-lblni = object-objkey(10).
        essrkey-ebeln = object-objkey+10(10).
          select * from ekpo where ebeln = essrkey-ebeln.
            select single * from ebkn where banfn = ekpo-banfn.
              kostl = ebkn-kostl.
          endselect.
        select * from csks where kostl = kostl.
          verak_user = csks-verak_user.
        endselect.
        actor_tab-otype = 'US'.
        actor_tab-objid = verak_user.
        APPEND actor_tab.
      endif.
    ENDFUNCTION.
    When I debug, sy-subrc = 8 at swc_get_element ac_container 'ServiceEntry' object.
    What could be the problem?
    Thanks
    Regards

    Hi Sarvesh, T
    This thread was already answered some time ago.  Please open a new Discussion marked as a question.  If the thread you originally posted to has material related to your question, include a link.  Your content is attached below to make it easy for you to simply paste it into the new Discussion.  It is recommended to read the Rules of Engagement and other documents in the Getting Started link at the top right.   If you have any questions, feel free to respond to this DM (Direct Message) and I will be happy to try to assist.
    Rgds,
    Jocelyn (SCN moderator)

  • Agent determination for another task

    Hi Experts,
        I have assigned agent as US for a task. One custom FM is called for an approval screen and that FM is called from the method . That method is assigned to that task. The approval screen should have the approver name.
        How to pass the agent assigned for the task to the FM assigned in the method.
    Reagrds
    Sathish

    hi,
    plese find my sugestion.
    1. In any of the previous steps, find the approver name.Pass that approver name from the 'METHOD' to TASK container.from TASK Container to the WORKFLOW Container
    2. Then in the current step, Bind the 'APPROVER_NAME' to the TASK, and then to the 'METHOD'.
    3. now u can use the APPROVER_NAME inside the method.
    hope u r clear, if not pls lets know.
    Regards
    Anversha

  • Agent determination for RFQ

    Hi All,
    My requirement is like this.
    When an RFQ is created in ME41, the workflow has to trigger and based upon some conditions, i have to find the approver from a ztable.
    When i create a RFQ the workflow is getting triggered and my flow is going good, but my issue is at the point of release.
    Issue
    When the approver receives the workitem, he can make any one this discission 1. Release 2. Reject
    When the approver goes for Release option, i am calling the method "SingleRelease" of the business object BUS2010, and i am assinging the agent as an expression in the activity creation screen of SWDD.
    But when i checked the log it says "No selected agents". I don't why it happens like this, and how to correct it. Kindly help me to solve it. So that i can learn.
    Thanks and Regards
    Balaji K.

    HI,
    As IA was mentioning, pl check if you have the task as either "general task" or maintaining possible agents.
    THis is a typical error. Sometimes, during transport, the agent assignment is lost in the target system. Look into OOCR txn or do it manually in the target system(you don't need to be in the Change mode of SWDD or PFTC to kinda..activate the linkage of this agent assignment to the task).
    Hope this helps
    venu

  • Agent determination of 'general' task fails....

    I have  a task in the workflow which i have kept as general task
    I have attached a rule to it.
    when the rule doesnt return any agents, the workitem is sent to all the SAP users
    this is a very big problem, could you please suggest how to prevent that ?
    if the rule doesnt give any agents then the workflow should hang, it should go to all the SAP users.
    thanks and regards,
    Dipti

    Hi Imthiaz,
    I have already checked the workflow log and I  know very well why my workflow is in error.
    My requirement is that even if  the workflow goes into error,  this message entry should not be created.
    As per my knowledge, this is created in workflow administrators inbox due to setting in SWU3 -- Schedule Background Job for Work Items with Errors
    But it doesnt look like the above settings effects this message creation. There should be some setting somwhere right ?
    Also, it is only in quality system not dev
    Dev -- workflow goes in error -- no message seen
    QA -- workflow goes in error -- message seen in workflow initiators inbox
    please help.....
    thank you
    regards
    Dipti
    Edited by: dipti on May 6, 2008 6:30 PM

  • Export for system copy fails - Error 9 (Bad file number)

    Hello all,
    I am attempting to perform the export phase for a hetergenous system copy on our BI system (BI 7.0 - NW2004s).  This system runs on HP-UX 11.11 using Oracle  10.2.0.2 and will be migrated to Windows Server 2003 and MS SQL Server 2005, once the export is complete.
    While running sapinst to export the data from the source system, there are several input dialog screens that are skipped, which means I am not able to enter all the paramters used for the export.  After seeing this behavior from sapinst, I reviewed the sapinst.log and sapinst_dev.log files and find the warning/error "System call failed. Error 9 (Bad file number)".  I have included a portion of these files below.
    I have reviewed notes 546006 and 583861, but these seem to refer to an Oracle error ORA-27121, but I am not receiving any Oracle errors in sapinst.log or the Oracle alert log.  I have looked for possible permission or ownership problems with any of the SAP or Oracle files, but have not found any that were incorrect.  Also, these errors do not specify which file sapinst is having problems with, so I do not have  a specific file or area to check.
    If anyone has seen something similar to this and has any suggestions, I would greatly appreciate any help.
    sapinst.log details:
    INFO 2009-02-14 15:15:51.67
    Execute step collect of component |NW_Export|ind|ind|ind|ind|0|0|NW_GetSidFromProfiles|ind|ind|ind|ind|1|0|NW_readProfileDir|ind|ind
    |ind|ind|0|0
    INFO 2009-02-14 15:15:52.737
    Account bwpadm already exists.
    WARNING 2009-02-14 15:15:52.747
    System call failed. Error 9 (Bad file number) in execution of system call 'getgrent' with parameter (), line (292) in file (syuxcuse
    r.cpp).
    INFO 2009-02-14 15:15:52.757
    Account 0 already exists.
    WARNING 2009-02-14 15:15:52.777
    System call failed. Error 9 (Bad file number) in execution of system call 'getgrent' with parameter (), line (292) in file (syuxcuse
    r.cpp).
    INFO 2009-02-14 15:15:52.777
    Account 200 already exists.
    WARNING 2009-02-14 15:15:52.827
    System call failed. Error 9 (Bad file number) in execution of system call 'getgrent' with parameter (), line (292) in file (syuxcuse
    r.cpp).
    INFO 2009-02-14 15:16:04.937
    Creating file /tmp/sapinst_instdir/NW04S/LM/COPY/ORA/EXP/CENTRAL/AS/EXP/ypcat.log.
    INFO 2009-02-14 15:16:05.007
    Output of ypcat passwd.byname is written to the logfile ypcat.log.
    sapinst_dev.log details:
    TRACE      2009-02-14 15:15:52.737
    2009-02-14 15:15:52.743 NW._getSAPMount() done: /sapmnt
    INFO       2009-02-14 15:15:52.737 [syuxcaccmg.cpp:227]
               bool CSyAccountMgtImpl::isExisting(ISyAccountMgt::eAccountType accountType, iastring sName)
    Account bwpadm already exists.
    TRACE      2009-02-14 15:15:52.747 [syuxcuser.cpp:1943]
               CSyUserImpl_getOsInfos(ILogBook *m_logBook, iastring sName, iastring sID, tSyUserInfo& msUserinfo)
    getspnam(bwpadm) returned NULL.
    WARNING    2009-02-14 15:15:52.747 [syxxsyshlp.cpp:78]
               syslib::printOSError(const iastring &, int, DWORD, const iastring &, CMessage::eLogMessage)
    System call failed. Error 9 (Bad file number) in execution of system call 'getgrent' with parameter (), line (292) in file (syuxcuse
    r.cpp).
    Regards,
    Rusty Robbins

    Hello Peter,
    Thanks for the reply. I did confirm the points you made, and have the details below.
    1. check filesystem, if you have enough space, especially /tmp
    All filesystems have available space, and /tmp has 310 MB available, before the start of sapinst.
    2. check again alert log, trace log for Oracle,
    I could not find any errors in the alert_SID.log or any unusual trace files.
    3. How did you run sapinst? Are you using "root" account.
    I am running sapinst as user root and I am following all the recomendations in the system copy guide (at least as far as I can tell.  ;p )
    We have four BI systems in this landscape, and the other three have migrated successfully.  The procedure I am using, is the same as for the other 3 systems and uses the same SAP media directory that was used on the other systems.
    One other item that may be part of my problem here, is that this system is the production system, and was originally installed as a high-availability system, using HP-UX Service Guard for clustering.  Currently, this system does not have fail-over enabled, but of course the cluster is still intact.  One required piece of the Service Guard enviornment is the use of a virtual hostname.  This seems to resolve successfully by sapinst, as I see the correct (virtual) hostname referenced several times.  While this is a clustered system (for fail-over purposes), the CI and DB are installed on the same host.  So it is not a distributed system, and if failover had been initiated, it would fail both the CI and DB instance, which is the same and only SAP instance.
    This did raise one question in my mind, however.  I am attempting to extract this using the following menu path within sapinst.
    SAP NetWeaver 7.0 Support Release 3  --> Software Life-Cycle Options --> System Copy --> Oracle --> Source System Export --> Central System --> Based on AS ABAP and AS Java
    Since this does use Service Guard, but is not a distributed system, should I be using a different path in the sapinst tree, for the export?  I have only performed a migration using the above path, so I am not familar with the detailf of the other types, such as High-Availabitly or Distributed-System.
    Regards,
    Rusty

  • Get More Info for NetConnection.Connect.Failed Error?

    I have a single server that runs IIS and FMS, both on port 80.  The server has two internal IPs assigned to it, one for IIS and the other for FMS.  I also have two static public IPs.  My router maps one public IP to IIS' internal IP and likewise for FMS.
    IIS works fine.  Using an online port scanner, I was able to determine that port 80 is responsive for both public IPs.  Before I had configured my Adapter.xml and fms.ini, only IIS' public IP was responsive.  This seems to indicate that FMS is fine.
    However, when my ActionScript creates a NetConnection and calls connect(), my netStatus callback takes about half a minute to be invoked, and I get "NetConnection.Connect.Failed".  Which is not very informative.  Is there a way to get more info about the cause of the error?  Also does anyone have suggestions for how to debug this issue?

    Hi,
    Thanks for trying out FMS..
    I can guide you with few checkpoints to first see where the problem might be.
    1. Go to the FMS installation directory and check for the logs folder. See all the logs (according to date) and find if the port bindings are all successful. This might tell us whether FMS actually has started or not.
    2. FMS works on port 1935 for RTMP streaming. It also gets bundled with apache (listening on 8134) but one of the fms processes also takes hold of 80 for its tunneling streaming as well as redirecting to apache. So either you remove this entry from fms.ini or change it to reflect to some other port. ADAPTER.HOSTPORT is the variable to look for.
    3. How are you making sure that FMS is working/not working ?
    4. Please turn off your firewall or other secutiry for testing purposes to see if you are able to hit the FMS .
    Let us know if any of the above are helpful in getting some more information.
    Thank you !

  • User exit for workflow WS20000075  agent determination for PO

    Hi,
    I have requirement to determine agents for workflow WS20000075 for PO from Ztable entry.  Is that customer exit EXIT_SAPLEBNF_005 will work ?

    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 Determination for SOFM-Compose

    Hi All,
    can anyone tell me how can i pre-define the recipients for the method COMPOSE of Business object SOFM?
    I want to pre-define the user name (Recipient Name) in the recipient list?
    How can i hardcode it?
    Regards,
    Raj

    hI,
    I have tried hardcoding it. But i m getting the message proposed recipient no longer exist.
    My second i want to pass the value of the agent name that is determined by a rule.
    How can i do it?

Maybe you are looking for

  • Ipod disabled and will not connect to itunes

    hi guys! I'm having a problem with my ipod touch 4g 8gb, i recently put in a new password and forgot it. I tired to figure it out many times but failed, so know the screen says ''Ipod is disabled connect to Itunes''. My computer or itunes (or whateve

  • Mac Pro Tower - Which Fans Cool All of What?

    So I have a 2008, 2.8 GHz 8-core Mac Pro tower.  I'm one of the many people who have problems with the fans.  In my case, I can get really high fan speeds, and the problem seems to be due to a faulty temperature sensor.  (Using iStat, it will sometim

  • Buying 1 song as a gift - Is it possible?

    Hi, In the UK should it be possible to buy only 1 song as a gift for someone? I don't seem to be able to do this. From the home page in iTunes I have also tried clicking on the ""Buy iTunes Gifts" link, but from there it never allows me to click on t

  • Is there anyway to recover files permanently deleted in trash after a two month period?

    I deleted some files that I thought I transferred to an external hard drive.  However, after 2 months, I realized that all of the files did not transfer and I deleted them in trash about two months ago.  Is there anyway to recover these files? 

  • Google map sometimes not appearing

    When I moved to the desktop that is assigned to iPhoto, (and it is already launched and open there as usual in my setup) and select a photo, (including one that has a pin in the Google map) the Google map states in an big text overlay that I am not c