How to get Agents in Leave Approval workflow

Hello Experts,
I'm using Standard Workflow for Leave Approval i.e WS 00400077. Since it is Standard Workflow it should get the AGENT automatically. But when i execute ny Workflow and when i check in SWEL Workflow is Working Properly but It is showing
" NO AGENT " is there. so i'm not getting Workitem in Inbox.
So what should i do.
Help me to solve this problem.
Regards,
Vardhan.

Hello,
"when i check in SWEL Workflow is Working Properly but It is showing  " NO AGENT ""
Look in SWI1 instead and see if an agent has been assigned. In some cases "No Agent" can just mean it hasn't be executed yet.
regards
Rick Bakker
hanabi technology

Similar Messages

  • Error in Leave Approval Workflow

    Hello Experts,
    I'm Using Standard Workflow WS0040077 for Leave Approval . I Activated the Event Linkage in SWEL .Did General Task in Agent Assignment . But when i run transaction PA30 . i get this error in SAP Inbox.
    Following error occurred:
    00 341
    RFC_NO_AUTHORITY
    Message text:
    Runtime error RFC_NO_AUTHORITY has occurred
    SAP System: EDV
    Client: 100
    Event container appended as attachment.
    Event linkage not changed.
    Event stored temporarily.
    Events can be redelivered via event queue
    administration (transaction SWEQADM).
    so what should i do to solve this problem.

    Hi,
      Have you checked the workflow config in SWU3? It sounds like there may be a problem with the LOCAL RFC destination used by workflow. Click the 'Start Verification Workflow' button in SWU3 as a health check.
    Also, are you testing this in the right client?
    cheers
    Paul Bakker

  • How to get Owner's name in workflow and disable it?

    hai
    When i open any workflow process, by default the first page gives itemkey, user key, Process name and Process Owner attributes. But we can change the owner's name here. This allows the user to launch the process on behalf of another user. How to disable it so that the user can not change this?
    ( default it will the user who started the process). Also I want to get the owner's name in any fuction in between the process. How to get it? Pls help me.

    The Launch Process screen is only available for Workflow Administrators (set on the Global Preferences screen) and is typically used for testing workflows.
    hai
    When i open any workflow process, by default the first page gives itemkey, user key, Process name and Process Owner attributes. But we can change the owner's name here. This allows the user to launch the process on behalf of another user. How to disable it so that the user can not change this?
    ( default it will the user who started the process). Also I want to get the owner's name in any fuction in between the process. How to get it? Pls help me.

  • How to get a substring in a Workflow Activity?

    I'm concatenating some values into a Summary field in a workflow activity as follows:
    IIF(Eq([//Target/Code1],True),"1,","")+IIF(Eq([//Target/Code2],True),"2,","")+IIF(Eq([//Target/Code3],True),"3,","")
    So if Code1 and Code2 are true I get a Summary Value of 1,2,
    Now I want to trim the trailing comma.
    So I did this
    Left([//Target/Summary],Add(Length([//Target/Summary]),-1))
    This part doesn't work.  It says Left is improperly formatted or missing a parameter.
    If I put a numeric value like 1 or 2 as the second value it works.
     Any suggestions on how to get trim a character off the end of a string in a FIM Workflow activity?

    Length isn't a function supported by the FIM Function evaluator Workflow activity. (Which is frustrating).
    Here is my sloppy approach using the built-in tool (lots of nesting so if you need to do this for more than 3 conditions this grows out of control):
    IIF(Eq([//Target/Code1],True),IIF(Eq([//Target/Code2],True),IIF(Eq([//Target/Code3],True),"1,2,3","1,2") ,IIF(Eq([//Target/Code3],True),"1,3","1") )
    ,IIF(Eq([//Target/Code2],True),IIF(Eq([//Target/Code3],True),"2,3","2") ,IIF(Eq([//Target/Code3],True),"3","") ))
    OR you can use one of these custom workflows that allows you to run your own code:
    http://fimwf.codeplex.com/
    or
    https://fimactivitylibrary.codeplex.com/wikipage?title=Code%20Run%20samples&referringTitle=Documentation
    David Lundell, Get your copy of FIM Best Practices Volume 1 http://blog.ilmbestpractices.com/2010/08/book-is-here-fim-best-practices-volume.html

  • How to get the ItemKey for a Workflow triggered by an event in Oracle Apps

    Hello,
    I have added a custom sub process to the seeded "OM Order Header" workflow. The process sends a notification. There are a few attributes in the body of the message tied to this notification, to which I am trying to assign values to using the syntax:
    SetItemAttrText (itemtype, itemkey, attrname, attrvalue).
    I have the internal names for the item type and attribute name, but don't know how to get the value for the item key. I understand the item key is supposed to be unique for each item type and is automatically generated by the workflow engine when the work flow fires. Is there a built-in function or some means to get this value?
    Regards,
    Smita

    Have you tried to query WF_ITEMS? -- http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=WF_ITEMS&c_owner=APPLSYS&c_type=TABLE
    bde_wf_item.sql - Runtime Data of a Single Workflow Item [ID 187071.1]
    Thanks,
    Hussein

  • How to get jcr Session in the workflow?

    Hi,
    I'm using CQ 5.6 and I would like to know how we can get jcr seession in the workflow?
    API: com.adobe.granite.workflow.WorkflowSession;
      It doesn't have getSession() method as we have in com.day.cq.workflow.WorkflowSession.
    Any pointers would be helpful..
    Thanks
    Siva

    Adapt the workflowSession object to a JCR session.
    Session session = workflowSession.adaptTo(Session.class);

  • Leave approval workflow

    people, i have a query ragarding leave approvl workflow. as per standard employee has raised request in ESS, sap will send it to 02, what will happen if position of 002 (reports to) is vacant ?  does it automatically and immediately goes to 012 (chief)? what is the chief position is vacant.? does it goes to the O-O and then chief of that org unit?
    can the approver forward it to other person in the org strucure by selecting his pernr in MSS.
    need help

    Hi Manoj,
    Check if you are using structure authorizations. If this is the case the substitution will not be able to process the workitem. Otherwise it still could be an authorization problem. Compare the HR authorizations, i suspect the problem will be in there.
    Regards,
    Martin

  • How to update agent list after triggering workflow?

    Hi Guys,
               Is there any function module to update the agent list after triggering the workflow? i mean after triggering workflow, the user is maintaining some approving officers in their table and they are expecting the workflow should route the workitem to  those newly maintained approving officers. So can any one help me to solve this issue.
    Regards,
    Safiq

    if any agent maintained in the customized table, how can I update
    those agent with existing available agent list.
    It sounds like updating the existing workitem container with the new updated values. right? You mean to say initially workflow is triggered and the agent list is populated in the workflow container. But after the workflow is triggered if the table is updated with some new entries, then these new entries must alos be included in the agent list container element in the workflow container.
    If this is the case the you have to modify the multiline container element of the workitem container. You can make use of the standard function module SAP_WAPI_WRITE_CONTAINER but this function module needs to be called each time when evenr a new entry is created and you have to check what are all the workitems that you want to update ,
    I think its a bit difficult to update all the workitems which are with reagrd to this scenario.. so you have to check out some other simple way. But on a whole what I can say is you can update an existing workitem container by using the FM mentioned above...

  • How to get the objects from a workflow item's container

    Dear all,<P/>
    We need to get the value of a variable in the container of a workflow item. I can get the workflow item list using function module <B>SAP_WAPI_CREATE_WORKLIST</B>. Then how can I get the corresponding container elements' value?<P/>
    I tried function mofule <B>SAP_WAPI_GET_OBJECTS</B>, but the returned table <B>OBJECTS</B> and <B>OBJECTS_2</B> are both empty.<P/>
    Thanks + Best Regards<P/>
    Jerome<P/>
    null

    Hi,
    Well, I think you will be getting the value as BORNAME:BORKEY. Get the KEYVALUE into your local variable. And use the <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/c5/e4acef453d11d189430000e829fbbd/frameset.htm">BOR Macros</a> to get the instance and desired contents.
    Regards
    <i><b>Raja Sekhar</b></i>

  • How to get details of Pending Approval request in OIM 11g R2?

    Hi,
    We need to find out following details from Pending Approval Request in OIM 11g R2 -
    Request ID,Assignees,Requested Resource Name, Title of Request, Beneficiary, Status of Request.
    Out of above attributes we could find out Assignees, Title of Request, Status of Request, Beneficiary, etc. But we are not getting Request ID and Requested Resource Name.
    We have used API - 'IworkflowServiceClient'
    If we use API - 'RequestService' then we are not getting Assignees and Resource name from Pending approval request.
    Can any one suggeste how can we get these details? Do we need to use other API or other alternative to get all of attributes from Pending Approval Request.
    Thanks.

    Thanks Kevin for your suggestion.
    In OIM 11g R2 I tried task.getIdentificationKey() to get Request ID and task.getSystemMessageAttributes().getTextAttribute6() to get requested resource name but I am getting null values out of it. Is there something I am missing?
    Which common thing I can use to retrieve data from both OIM and SOAINFRA? As I am not getting Request ID from 'IworkflowServiceClient' API so I could not use it to earch request in OIM using 'RequestService'. Even if I have to use query what will be common thing I can use to fetch data from both tablespaces?
    Thanks.

  • 2 level leave approval workflow.

    Dear Expert,
    I am trying to update the status for the leave request. I created a sampel program with the following code in SE38 and put in the following code. However, it seem that it does not work and the status did not get updated for that particular leave request
    Anyone knows what is the problem?
    DATA:
    request TYPE REF TO if_pt_req_request,
    event   TYPE tim_req_xfer_event VALUE cl_pt_req_const=>C_REQTRANS_APPROVE,
    req_id  TYPE PTREQ_HEADER-REQUEST_ID value '48561480F033007EE1008000C0A8D282',
    status  type TIM_REQ_STATUS.
    CALL FUNCTION 'ENQUEUE_EPTREQ'
      EXPORTING
        mode_ptreq_header = 'E'
        request_id        = req_id
      EXCEPTIONS
        foreign_lock      = 1
        system_failure    = 2
        OTHERS            = 3.
    CALL METHOD ca_pt_req_header=>agent->get_request
      EXPORTING
        im_request_id = req_id
      IMPORTING
        ex_request    = request.
    CALL METHOD request->initiate_state_transition
      EXPORTING
        im_transfer_event    = event
       im_event      = event
       IM_RET_VALUE  = 0
      IMPORTING
        ex_new_status = status.
    CALL FUNCTION 'DEQUEUE_EPTREQ'
      EXPORTING
        request_id = req_id.
    Thanks
    Regards,
    Bryan

    hi Brian Lee 
    I thing if u debug the method ca_pt_header finally you would get has request id is locked or request id is not found. check this 1st .
    <inappropriate content removed by moderator>
    Regards
    vijay
    Edited by: Mike Pokraka on Jun 19, 2008 3:38 PM

  • How to create a three state approval workflow in SharePoint 2013 using visual studio 2013

    Hi Everyone,
    i have a requirement like 3 state to approve. Here is the details:- when the item added into the list it will go for reviewer. Once the reviewer review the item, he will assign the task to concern person/department(Parallel process more than two persons).
    Once they will approve the request again it will come back to reviewer and he will assign the task to team member(parallel process). Once the team member accepted then workflow terminate.
    i want develop this workflow using visual studio 2013 only, not using designer.. 
    Thanks in Advance.....
    Mallesh

    Hello,
    you can find multiple sample on the web like those
    http://www.splessons.com/2013/12/create-state-machine-workflow-in-sharepoint-2013-using-visual-studio-2012/
    http://msdn.microsoft.com/en-us/library/ee231606.aspx
    I don't think that's very different using VS2013 or VS2012
    Best regards, Christopher.
    Blog |
    Mail
    Please remember to click "Mark As Answer" if a post solves your problem or
    "Vote As Helpful" if it was useful.
    Why mark as answer?

  • How to get host name in the workflow?

    Hi,
       I've a requirement where I need to get CQ Inbox url (http://<hostname>:<port>/inbox) in my custom workflow process. I thought of configuring url to some node and retriving from there.. but It's not the good approach as host name will be different for differnt CQ environments. So what is the best way of getting inbox url?
    Env: CQ 5.6
    Thanks
    Siva

    Yep Justin, If the configuration is wrong, any link generated would also be wrong.. I mean, default configuration will be some thing like..
    I mean, I can change those configurations as per my instance host name, right?
    Example: my instance's host url is:  mytest:1501
    So I would like to update the same in configurations ..

  • How to get agent name dynamically

    Hi All,
    Is there any ODI method to get the agent name using which the current jobs are executing.
    Thanks,

    Hi,
    Yes, <%=odiRef.getSession("AGENT_NAME")%> Substitution API will retrieve the PHYSICAL agent which is running the current job.
    Please explore oracledi_api_reference.pdf for more info.
    Thanks,
    Guru

  • HT3228 How to Get iPad to Leave Messages on Server

    Trying to set up email on iPad, but use home computer as "main" email.  Therefore, want to leave copy of messages on the server when I check mail through iPad.
    Set up 2 email accounts on iPad through the "other" email account type, and told both to "Never" delete emails from server (Settings --> email account --> Advanced tab).  Yet every time I check for messages on iPad, it's still deleting the messages from the servers.
    I have mail app set up the exact same way on my iPhone, and iPhone works as expected... messages are still left on the server.
    Troubleshooting:
    - Have tried connecting to email server through both the WiFi and the AT&T 4G net (WiFi disabled), same results... iPad is still pulling messages off server.
    - Have deleted and re-created both accounts on iPad, still does not work as advertised
    - When I have the mail app open on the iPad and I click the "send/receive" button in Outlook 2010 on my home computer, I get an error message that the account is already "locked" and in use by another application.  I do NOT get this same error message when the mail app is open on the iPhone.
    Wondering if the iPad is defaulting to set up the account as a IMAP vs POP account (I do not get the option to choose this on the iPad like I do on the iPhone)?  If so, this is definitely something that needs to be fixed in the iPad app.

    Disregard.  After 3+ hours of troubleshooting, found iPad is working properly, leaving the messages on the main server.  Found that when I tried to download them to my laptop, they were getting intercepted by a SPAM filter.  I had tested the iPhone first, and the filter let those go through, but after that it decided the rest were SPAM.
    I hate feeling like a kriffing idiot.  :-)  Aargh!!!!

Maybe you are looking for

  • Qosmio X300-13P issues of Win 7 64bit upgrade

    Hi, I've upgraded X300-13P up to Win 7 Home Premium 64 bit. Since the model somehow not in the Qosmio X300 models list (why???), I found all needed drivers (win7 64 bit, russian) using laptop s/n and drivers filter. Now laptop works. Issues (please,

  • Can't re-install windows 7 64-bit on MBP early 2011 after Mavericks

    I have an early 2011 Macbook Pro 13 inch which I used to have Mac OS X 10.8 and Windows 7 64-bit prior to installing Mavericks. After the update, my windows partition, which i resized to a larger space using Disk Utility and then a third party softwa

  • Blackberry desktop software 7.0 not show applications

    Guys i have a problem with this  ..When i open Blackberry desktop software 7.0  on the left side of this program is show Summary Applications Files - Media sync - Music Pictures Video   ... This is normal right ?   ** But when i connected with my pla

  • Photoshop not apiring in bridge tools

    photoshop is not apiring in bridge tools and there is no reson for it not to work. how do i fix it quickly

  • Enlarging on a legal sheet of paper - LaserJet M1217

    I am unable to get the printer to use the full page when enlarging on legal size paper on the LaserJet 1217nfw.  The bottom 3 inches of the paper is not used.  If I try to change the enlargement setting to force the use of this space, the printer jus