on 01-20-2008 10:20 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thnx for your reply arghadip and JMB. U guys been a great help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.