Skip to Content
1
Former Member
Aug 19, 2015 at 04:53 AM

How to find the Next phase for RFx

19 Views

Hi All,

I have a requirement for which I have to throw an error when the RFx is moved to Award phase.

I tried to do with the Document Lifecycle event option and target-> Pre Phase Change. But I was not able to retrieve the next phase name while doing the phase transition.

I have used other_phase variable to get the next phase.


I have used this check:

if (other_phase.equals("Award")){

throw error;

}


But the above code is not working as expected.

I came to know that this works only for Phase configurable business objects like projects and UDOs. So then I need to use Validation script to implement my requirements. But I am not sure how I can get the next phase in Validation script.


Kindly help me with this.


Thanks

Rahul