Problem finding Workflow agent when assigning an Organization as responsibl

Hello Colleagues,
I have a doubt about responsible Agent finding for a WF Task.
I have created the following structure:
MP_ORG (organization)
_ MP_ORG_SALES (organization)
_  Manager  (Position)
_ User1 (user)
_ Clerk (Position)
                                |_ User2 (user)
If I define MP_ORG_SALES as responsible agent, the WF works fine (User1 and User2 get the Work item). Nevertheless, if I define MP_ORG as the responsible agent, the Workflow doesn't find a responsible agent.
Any ideas???
Thanks and regards
Marcelo

Hi all,
@Raj, nice blog but i'm afraid it didnt get me any further.
@Surjith, after the workflow runs in error i can restart it from SWPR even without maintaining the data. This is (i think) because i restart the WF with the admin account, and that has sufficient authorization to look to the other division. As I mentioned it is not an option to give all the people sufficient authorization as per company policy.
@Rick,  agent determination is rule based. We created rules as follows:
Category: Agent determination: Function to be Exected
Function Module:  RH_GET_STRUCTURE
Evaluation path:  these are customized evaluation paths
The workflow runs in error after completing the previous step. From the workflow log you can see that rule has no result. (if you test the rule in pfac_dis with the same input it works fine though, but then you have more rights of course)
Thx so far.
Robert

Similar Messages

  • Problem using workflow - Agent not ready

    Dear all, i'm not a workflow expert. I've created a workflow that works correctly when i test it using transaction SWDD, but I have an error of "no agent ready" when i process it using fm SWE_EVENT_CREATE.
    the task is defined in this way:
    Agent         Expression:  &_WF_INITIATOR&
    but I also try this:
    Agent         User :   ACNDEV (my user)
    ....and also I try to leave the agent blank.
    I call the workflow  rasing the event "CREATED" in that way:
    VA_CREATOR-OTYPE = 'US'.
    VA_CREATOR-OBJID = SY-UNAME.
    CALL FUNCTION 'SWE_EVENT_CREATE'
      EXPORTING
        objtype                       = 'ZTESTFLOW'
        objkey                        = 'ZTESTFLOW'
        event                         = 'CREATED'
       CREATOR                       = VA_CREATOR
    TABLES
       EVENT_CONTAINER               = wi_container
    The workflow start but at first task it is stopped with the message "No agent ready".
    I already have try in different way, but i don't find any solution.
    Anybody can help me ?
    Davide

    Hi
    The possibilities are
    1. Instead of making use of the SWE_EVENT_CREATE try to make use of the SAP_WAPI_CREATE_EVENT function module.
    2. Try to refresh the organizational assignment from SBWP transaction on menu SBWP-> SETTINGS--> WORKFLOW SETTINGS -
    > Refresh organizational environment.
    I am sure that when ever you are trying to create or raise a event then it is not mandatory that you have to make the workflow template as general task.. but yes you have to maintain the agent assignment if you want to start the workflow directly like by using SAP_WAPI_START_WORKFLOW.
    Also if you are facing this issue with some standard task but not with the workflow template then it is a problem with the agent assignment. in that case make  sure that the proper agent assignment settings are maintained for the respective standard task.  as mentioned in the above posts.
    Regards
    Pavan

  • Problem in workflow process when update status of CC32 via workflow

    Hi,
    i am working on workflow support issue which is relating to CC31/CC32, here we create change number in CC31, but we won't change status of CC31 in CC32. it is possible thru workflow item only. but when 3 rd person updating status from 2 to 3, he is geting error, because the previous statuses are not updated. it's happening sometimes only not all the times. why.
    venkey

    Hello,
    What's the error? What's CC31?
    regards
    Rick Bakker
    hanabi technology

  • Tomcat problem finding MySQL driver when context used

    Hi all.
    I have a context set in tomcat3.3 which allows me to run JSPs saved in TOMCAT_HOME/webapps/examples/jsp from /luc.
    Initially, I had problems using beans when I used the context (the whole thing works ok when I just enter the actual path in the URL).
    I solved that by adding the ...WEB-INF/classes directories to my CLASSPATH. But now that the beans are found, Tomcat is giving errors regarding the mySQL driver I'm using, which is mm-mysql-2.0.11.
    The error is:
    Error: 500
    Location: /luc/validateLogin.jsp
    Internal Servlet Error:
    javax.servlet.ServletException:
         at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:460)
         at validateLogin_1._jspService(validateLogin_1.java:139)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java)
         at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
         at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
         at org.apache.tomcat.core.Handler.service(Handler.java:235)
         at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
         at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:917)
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
         at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:176)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516)
         at java.lang.Thread.run(Thread.java:484)
    Root cause:
    java.lang.NullPointerException:
         at customerProfile.customerProfileBean.validateUser(customerProfileBean.java:135)
         at validateLogin_1._jspService(validateLogin_1.java:98)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java)
         at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
         at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
         at org.apache.tomcat.core.Handler.service(Handler.java:235)
         at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
         at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:917)
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
         at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:176)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516)
         at java.lang.Thread.run(Thread.java:484)
    And I've outputted the the following stuff:
    Unable to load driver java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver
    java.sql.SQLException: No suitable driver
    Remember, this all works fine when I don't use the context.
    In my CLASSPATH, I point to the JAR file:
    /usr/local/jdk1.3.1/lib/mm.mysql-2.0.11/mm.mysql-2.0.11-bin.jar
    Any ideas?

    try moving the mm.mysql-2.0.11-bin.jar file to %TOMCAT_HOME%/common/lib. This should make the classes available to all contexts.

  • Problems finding iPhone apps when searching app store on iPad, iOS6

    I am a developer of iOS apps, and ever since the new iOS6 update (and this persits on iOS 6.0.1), when I search for our apps in the app store on my iPad, either by app name, or by our company name, none of our apps show up - and yes, I am making sure to toggle search results between iPhone and iPad.  When I search on my iPhone, the results come up fine.
    Thank you for any insight!
    Dirck

    Check out this article
    http://support.apple.com/kb/TS1702

  • Error when assigning  business partners to positions in org. mgmt.

    Hello,
    I've got the following problem. I want to assign business partners to a position in organisation management. When doing this, the following error occurs:
    "Object cannot be assigned to object xxx in the period xx.xx.xxxx - xx.xx.xxxx"
    (xxx is the position to which the business partner should be assigned)
    The number of this error message is 5A368.
    Diagnosis in the detailed description of this message:
    "The object period of object '1st Level Support' is not within the relationship period 26.03.2007 - 31.12.9999."
    I've changed the object period of the position "1st Level Support" to several other dates, but it did not solve the problem.
    The described problem does not occur, when assigning an user to this position.
    Can anybody help me with this problem? I'm using SolMan 4.0.
    Thank you in advance!

    Thanks for your answer so far. Unfortunately it's not possible for me to upgrade to SP11. So I tried to solve the problem the way you described. I double-clicked the position on the left, the desired position is shown in the main screen and I try to assign the business partner to the position. But the same error appears.
    Are there any other possible solutions?
    What are the consequences of assigning users to a position instead of business partners?

  • Assign Purchasing Organization to Plant

    Hi All,
    When assigning Purchasing Organization to Plant, the field "Status" retrieves the following information:
    "Company code of plant/purchasing organization are not identical"
    Where can I solve this?
    Kind Regards,
    Miguel

    HI Miguel,
    After Creating a Plant in Spro ,by the Copy of as plant it will creting all the remaing in the background it self.
    But to make plant as a valuation ,we have check at what level you are doing the valution
    Go to OX14 and Check your valution level it should be plant.
    Know Comming to the Usage og OMWD.
    THis Trasaction is used to Group the valuation area for the accounting determination
    in MOre clearly ,if we have three plants ,all the three plants can be linked to to a single Valuation group code or different .
    it should be assigned in such a way ,how you want to hit your financials .
    it has Link of your Plant and comapany code and the chat of accouts( check with your FI guy) and the Grouping Code( As per your Logic Z001)
    After Maintaing the same ,we can use this Valuation group code in OBYC, for accounting determination
    if you check BSX trsansaction  key --used for inventory Posting
    And it that if you Check the rules ,it has Valiation MOdif ,which is nothing but the Valuation grouping code.so they both are one and same.
    the other combinations are Valuation class ( Maintained in OMSK) and GL Account ( Maintainted in FS00)
    Hope so it help
    Regards
    Anjanna.

  • Workflow agent assignment problem

    Hi guys,
       I have small problem in workflow.
       we have an task for user decision.
       i want to do agent assignment for that task.
       we have one position for one user. like that we have three positions.but job is same. i want do agent assignment for these users, the three users are same level hierarchy.
    how i can do agent assignment for this task?
    can i give directly job number because job is same for three positions.
    please let me reply.
    Thanks
    Sankar.

    Hi,
    If you`ve users attached to the Job you can address the job in the agent assignment.
    Regards

  • Approval workflow triggers when not expected for SRM PO & without Agent ??

    Hi All,
    We are using SRM 5.0 integrated with SAP MM backends.
    We are frequently facing this problem, when a buyer  creates a PO (in SRM) within his/ her Spending (Output) Limit, the PO approval workflow triggers and is not able to find an agent.
    Although the workflow should not trigger as the PO value is below spend limit of the buyer......we are not able to understand this behaviour.
    In such cases, the buyer is not able to issue the POs, since the POs show 'Awaiting Approval' status.
    I can find such POs with SRM transaction SWI2_ADM1, but I can not do anything beyond that. I am not able to Forward or 'Complete Manually' such work-items.
    Any idea how this problem can be fixed or if there is any SAP note available for same.......anything??
    Has anyone faced this kind of problem before?? Please help.
    Thanks,
    Ruchika

    please check from the workflow log , the workflow which the system is starting.
    might be the system is able to start another workflow than the one which you are mentioning
    use the transaction swi6 for workflow log , use the purchase order guid

  • Approval Workflow triggers when not expected & without Agent ??

    Hi All,
    We are using SRM 5.0 integrated with SAP MM backends.
    We are frequently facing this problem, when a buyer creates a PO (in SRM) within his/ her Spending (Output) Limit, the PO approval workflow triggers and is not able to find an agent.
    Although the workflow should not trigger as the PO value is below spend limit of the buyer......we are not able to understand this behaviour.
    In such cases, the buyer is not able to issue the POs, since the POs show 'Awaiting Approval' status.
    I can find such POs with SRM transaction SWI2_ADM1, but I can not do anything beyond that. I am not able to Forward or 'Complete Manually' such work-items.
    Any idea how this problem can be fixed or if there is any SAP note available for same.......anything??
    Has anyone faced this kind of problem before?? Please help.
    Thanks,
    Ruchika

    Hi Ruchika,
    This seems to be a problem with the start condition of the PO approval workflow. Check for the same and see if there is any issue.
    Regards,
    Saumya

  • Workflow Deploy Problem: No Workflows found (no error when generate)

    I already tried to find other thread and test/change a couple of things already.. but i couldnt solve this basic problem yet.
    PLEASE KINDLY HELP.
    I am new to SUP and I just want to test deploying any workflow to my test device (iPhone).
    However, i didnt make it. ("generated mobile workflow package" successfully. no error log.  But i see nothing in the Sybase workflow on my iPhone"
    This is what i did ...
    1. Registered the device.
      In SCC, Applications / Application Connections
      I successfully registered my iPhone device and got the online status.
    2. I tried to develop a basic workflow application and assign to my device
      2.1 I created a basic MBO from a table in sampledb.
            I "deploy project" to SUP server. No error. Checked in SCC, i found my package created there as well.
      2.2 I created new "Mobile Workflow Forms Editor". I create a simple screen from prepared MBO.
           I "Generate mobile workflow package"
           I also selected checkbox "Assign workflow to user(s)" and i use the "Get Users" button to get my user.
                   (it got the correct user for me.. no problem during this step)
               I got this message
    ============================================================
    Deployment to Unwired Server
    ============================================================
    Deploying the workflow
    Successfully deployed the workflow
    ============================================================
    Assigning workflow ZGContactCreate to Top
    ============================================================
    Assignment complete
    ============================================================
    Time taken was 3 seconds
    ============================================================
       2.3 I checked in SCC. Applications / Application Connections >> Then, for my register, i clicked "Workflow Assignment" button.
            Everything seem to be fine. That workflow was already assigned.
    UNFORTUNATELY, WHEN I TESTED THE SYBASE WORKFLOW ON MY IPHONE, I SAW NOTHING...
        "NO WORKFLOWS FOUND" ...
    (I also checked status at that time and my test device status in SCC was still online at that time.)
    Note:
    SUP Server: 2.0
    Sybase Workflow on my Iphone: 2.1
    This test WF application is "can be started, no demand, from the client" type.
    Any help would really be appreciated.
    Brgds,

    Yes, status is ONLINE
    When register the device, status = PENDING
    Then, after open sybase workflow in the test device (iPhone), status in SCC change to ONLINE.
    From then until i deploy the app (generate), status in SCC show as ONLINE.
    After I failed to see any workflow app in my test device, i come back to SCC and click refresh again, status is still ONLINE.
    Pls help ...

  • Unable to find Workflow environment agent

    Hi ,
    We are using forte version 5.0.5 on a solaris 8 box. The system was working fine it is been used by different developers. But the system when tried to take a restart, gave the following exceptions.
    1) At the FNscript
    Loaded Forte Message Catalog 'fortemsg/en_us.cat'
    NLM Startup is Complete - Partition's Locale is 'en_us.utf8'
    SecurityManager Using: Default-Export-Security
    Loading partition FNScript_cl0_Client built on 07-Mar-2002 21:07:23.
    Attached to manager for node egovdevsrvr4.
    fnscript > listb
    ERROR: Caught exception during invocation of method: GetAllIBBNames().
    fnscript >
    2) fnscript >
    fnscript > findb EGovBackBone
    ERROR: Unable to find Workflow environment agent. This should have been installed & configured during Fusion Process Engine installation. Please consult your Fusion system administrator.
    fnscript >
    3)We got the Fusion Console and other client applications installed on a Win2K box. When tried to open these tools, it gives the following exception (same is the case for a solaris level GUI as well).
    We get a Error window saying this message "Unable to complete a request on method GetAllEnvNames()"
    Any help will be appreciated.
    Thanks in advance,
    Madhava Krishna

    This is not the forum for Fusion/Integration Server but you migth want to set a Forte flag to get some more details:
    trc:lo:25, set it and re-start.
    Please post the error stack trace you get and I might be able to help you out.
    Cheers!

  • I can not get my Adobe Photoshop Elements 8 organize to open. The edit option comes up with no problem, but will crash when I try to access organize. What should I do to fix this problem?I can not get my Adobe Photoshop Elements 8 organize to open. The ed

    I can not get my Adobe Photoshop Elements 8 organize to open. The edit option comes up with no problem, but will crash when I try to access organize. What should I do to fix this problem?

    Hi,
    Which operating system are you running on?
    Try starting the organizer while holding down the shift key.  Hopefully, it should load the Catalog Manager.
    Select your current catalog and click on the Repair button. Once it has finished, click on the Open button to see if the catalog opens.
    Good luck,
    Brian

  • I am trying to find out how to assign files with particular extensions to the appropriate software. At the moment when I create a file using Word it is apparently given the extension .docx but Word doesn't recognise its own files. How do I alocate th

    I am trying to find out how to assign files with particular extensions to the appropriate software. At the moment when I create a file using Word it is apparently given the extension .docx but Word doesn't recognise its own files. How do I allocate the extension .docx to Word? There used to be a way of doing it, I think under "Preferences" but I can't seem to find it.

    Still in the same location:
    File > Get Info > Open with (select) > Change All (button)

  • How do I find offending photo when there is a problem uploading photos to order prints?

    How do I find offending photo when there is a problem uploading photos to order prints?

    What is the problem? What version of iPhoto? Of the OS? Try safe mode
    LN

Maybe you are looking for