Re: Skip Change phase problem (226 Views)
Reply
Advisor
djdilipkumar
Posts: 26
Registered: ‎09-17-2012
Message 1 of 4 (300 Views)

Skip Change phase problem

Hi,

 

In our setup there is Change management flow with following Phases:

Manager Approval

Executive Approval

Update Group

Implementation

Closure

 

First 2 phases are Approval Phases. We have customized to move to next phase automatically whenever a change is approved. This we have added cm.next.process in next process for cm.update.save process with condition of approval phases.Also based on subcategory value Executive Approval phase should be skipped for which we added a calculation in Executive Approval Format Control

 

Add                                                                         Calculaction

subcategory in $file='XYZ"                              $phasepntr=3;currnt.phase in $file="Update Group"

 

Everything is working as expected.. But the problem here is when Change with subcategory XYZ is approved in Manager approva phase even though it goes to third phase automatically, an approval pending record for executive approval is added in Executive approvers inbox....

 

Please help

Honored Contributor
Vadim Gorda
Posts: 5,761
Registered: ‎11-10-2008
Message 2 of 4 (256 Views)

Re: Skip Change phase problem

Hello,

without going deeper in the topic, there is mistake in your calculation

 

$phasepntr=3;current.phase in $file="Update Group".

 

Also if you say that you have added the condition on the Executive approval phase it means that the change comes to that phase and creates approval and only after that you are forcing it to skip to third phase. You should retailor it to the first phase closure or try to do that in cm.close.save process

Advisor
djdilipkumar
Posts: 26
Registered: ‎09-17-2012
Message 3 of 4 (241 Views)

Re: Skip Change phase problem

Hi Vadim,

 

It's a typo error while posting... It is proper in the condition...And moreover it's skipping the phase with this condition.

 

I tried the same condition in first phase under delete action but still no luck...

Occasional Advisor
nitstcs
Posts: 9
Registered: ‎05-14-2010
Message 4 of 4 (226 Views)

Re: Skip Change phase problem

Hi Dilip,

I suggest you to explicitly call the cm.next.phase as the next process in cm.update.save process with the condition that current.phase in $L.file="Executive Approval" and subcategory in $L.file="xyz".
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.