Check condition in ui action to throw error if not fulfilled.

PratishthaN
Tera Contributor

In problem form I've got a UI Action in the banner (where save, configure is given) called 'Create standard Change'. What I'm wanting to do is apply some logic so that it checks if proposed solution state is not approved , then if the user clicks on 'Create standard Change', it should generate an error message "Please get the proposed solution approved before creating the IT change for solution implementation" and keep them on the same page. else it will create a new change.

 

(Pop Up window should be coming if a new change is being created from IT Problem form until the proposed solution stage is approved.

If Proposed Solution stage is not approved and someone is creating a new IT Change from IT problem form, then there must be a pop message to be displayed "Please get the proposed solution approved before creating the IT change for solution implementation")

1 REPLY 1

PratishthaN
Tera Contributor

@Ankur Bawiskar  Hi, can you help me with this ?