Skip to Content
author's profile photo Former Member
Former Member

Agent determination position/ rule

HI Gurus,

I am new in workflow. For our project we have created a org structure. Which has O-S-US.

There are only two positions Agent and Lead Agent.

If I want to send an workitem to lead-agent I can send it to the position. But as our business will be maintaining the org structure they want an option that in case if any user is not assigned to the Lead-agent it should inform the workflow initiator.

Do I have to use a rule, or how I do that Please help. Any other better way to do it?

I promise I will reward every helpful answer.

With thanks

Rabbi

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Jan 21, 2008 at 05:17 AM

    Hi Khan,

    you can maintain an ztable for the Lead position. And in Rule, get the position id of the lead and check with the table HRP1001. In this table, you can see the position is assigned to any user or not. So if there is any user, then u can assign as initiator and send a mail.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 21, 2008 at 03:52 AM

    I think you have to evaluate the agents by using a method. In side the method you need to check whether any agent is maintained in the Org. Unit if not you have to put WF_INITIATOR as the agent.

    The method will return the agent ID(SAP User Id) concatenated with US in front.

    Thanks

    Arghadip

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 22, 2008 at 12:22 AM

    Thnx for your reply arghadip and JMB. U guys been a great help.

    Add a comment
    10|10000 characters needed characters exceeded

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.