Skip to Content

Leave WF: Issue in sending Leave doc to a manager otherthan imm.superior

Hi Experts,

I am working on Leave workflow. My issue is when an employee applies for leave of Past date then it should go to DGM other than Immediate superior. Its sending a workitem to DGM correctly but in Portal manager coloumn is mandatory if the employee enters the immediate manager id overthere then that manager is also getting the workitem. In this case manager should not get the workitem. And if the employee enters a manager name other than his reporting than its not sending the workitem to the immediate superior.

How can I control this?

Can anybody please suggest me how to overcome this?

Regards.

Ranganadh.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Sep 09, 2009 at 11:50 AM

    Hi,

    Inside your workflow , put the check condition before you send the workitem.

    Condition shud be like this:

    if manager ID EX(It has value) and

    DGM ID EX.

    Then in your activity you shud pass the agent as DGM, thru your binding

    Thanks and Regards,

    Swaminathan

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Swaminathan,

      Thank You for the reply.

      Through workflow its sending workitem to DGM only. But in the portal in managers inbox when he clicks on any workitem of leaves its triggering an RFC in that RFC its displaying the total list of documents in that list only the workitem is appearing.

      the RFC is "Pt_Arq_Reqlist_Get".

      in Agents I can able to see only DGMs ID. So I think that workitem is received by DGM only but as per the logic in the RFC manager is getting the workitem details.

      Can you please suggest me anything on this?

      Thank you.

      Regards.

      Ranganadh.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.