cancel
Showing results for 
Search instead for 
Did you mean: 

Travel Workflow Problem

Former Member
0 Kudos

Dear All,

I have created workflow for travel management. For this I have used BUS2089 BO and the workflow is activated for create and change event of the BO . Once an employee applies for travel request it will go for approval of process head, operation head, travel desk, Finance user and Accounts User .

Problem :

Assume one employee has raised travel request and same is approved by Process Head and operation head, so now the workitem is pending with Travel desk .After some time of interval employee realised that he wants some advance and which he has not mentioned in the applied travel request . So he opens the same travel request once again and make the changes by entering the advance required . Once he changes the travel request new Workflow gets triggered and now workitem will start flowing to approvers given above .

The concern is once the new workflow has started because of change in Travel request the old woritem should get deleted so that Travel desk need not to approve the same travel request two times .How do I go forward?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Raghavendra,

U need to maintain bus2089.PlanChanged event as terminating event for your approval step.

If you do this Whenever Travel plan is changed automatically the wrkitem will be disappeared from users inbox as its terminating event.

DOnt forget to activate the Outcome 'Travel plan changed'

Reward if it helps.

Thanks

Praveen

Former Member
0 Kudos

You should create a Fork in which there is 1 Necessary Branch and 2 parallel branch. Put the whole approval steps in one fork and put a Wait for Event step that waits for Change event in another. If Traveller user changes the Trip at any point the Wait for event will get executed and the Workflow will end as that corresponding branch will get executed.

<b>Please reward points if useful</b>

Thanks

Arghadip

Former Member
0 Kudos

Hello Arghadip

I have done chages in the workflow as recommended by you . Now suppose employee has raised the travel request it goes to process head for approval . Once he clicks on approve button then also CHANGED event of BUS2089 is getting triggered so workitem instead of going to operation head it is getting compeleted.

Thanks In advance

Former Member
0 Kudos

Just do a binding from the Approval Step Task to Workflow. This Task will return Flag=X. Now put the wait for event step in the other branch of a fork inside a loop which will terminate if the Flag is not equal to X.

This will surely help.

<b>Please do not forget to reward points if useful to the right person.</b>

Thanks

Arghadip