cancel
Showing results for 
Search instead for 
Did you mean: 

Script is not working for Rfx post-phase.

Former Member
0 Kudos

Hello Everyone,

I am trying to run Script for Rfx post phase but its not working.

Please help me how it will work.

Thanks in advance

Rakesh

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi Rakesh,

I'm assuming you are trying to fire a script when RFx phase is changed. Please note, the pre and post phase change script targets are not supported in RFx. They are supported only in business documents where configurable phase definitions are setup.

Hope this helps.

Regards,

Vikram

Former Member
0 Kudos

Hi,

Then Is there any way through which i can get mail when Rfx phase is changed.

And as per my knowledge only pre-phase is not supported in Rfx but post phase is.

Rakesh

Former Member
0 Kudos

Hi Rakesh,

I faced with same trouble. I resolve it by using RFx - Document Lifecycle Event - "Validated" instead of "Post Phase".

Then to have "Validated" script like run Phase Change add condition. For example fo our case we need to prevent RFx from beeing awarded in case RFx field was null.


if(doc.getCurrentPhase().equals(new RfxSchedPhaseEnumType(6)) && field.get() == null ) {

  throw new ApplicationException(session);

}