cancel
Showing results for 
Search instead for 
Did you mean: 

Finding Previous Agent

former_member185879
Active Contributor
0 Kudos

Hi Experts,

***OrgUnit1

-


Mgr1

-


Mgr2

*******OrgUnit2

-


Mgr3

*************OrgUnit3

-


Mgr4

-


Emp1

********OrgUnit4

-


Mgr5

**************OrgUnit5

-


Mgr6

-


Emp2

This is my Org. Structure.

In this structure Mgr1...5 are approvers.

Emp2 is going to initiate the flow.

The first approver is Mgr6. if he approves then it will forwarded to Mgr5 and same like that upto top level.

but if Mgr5 rejects it should go to the previous approver or agent(In this scenario Mgr6). If Mgr6 rejects then it should go to the initiator.

so, is there any function mdoule available, so that by passing the current agent, we can get the previous agent?

Please provide input regarding the same.

Thanks

Regards

SM Nizamudeen.

Edited by: Nizamudeen SM on Sep 12, 2008 12:42 PM

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member185879
Active Contributor
0 Kudos

Found the container elements in task. Thanks

Former Member
0 Kudos

Hi,

Check the WiActual_Agent container element of the approval task.

When a user completes a task, you can get his/her user ID from the above mentioned container element. Just bind it to the workflow container, and then you can use it in the further steps in the workflow. I think you could use this approach for your problem.

Kind regards,

Karri

former_member185879
Active Contributor
0 Kudos

Hi,

Can u please specify the task number of approval task?

Thanks

Regards

SM Nizamudeen

Former Member
0 Kudos

Hi,

I have no idea of the task number (and neither has anyone other here). It's your workflow, so you (or someone at your site) should know it.

Regards,

Karri

former_member185879
Active Contributor
0 Kudos

Hi,

i thought there will be a general approval task. so that i asked you the task number.

Pardon me.

Thanks for your help. i got that actual_agent element in task container. i will use that in my scenario.

Thanks a ton.

Regards

SM Nizamudeen