Draft to Planning Stage.

Mayur Patil2
Tera Expert

Hello Developer,

 

I created one UI Action "Planning" button on the form below is the script. 

MayurPatil2_0-1714990430944.png

 

What is happing is that before even Assignment group is filled State field is already moved to Planning Stage.

MayurPatil2_1-1714990541285.png

 

How to correct this.

 

Thank you.

 

 

1 REPLY 1

Vengadesh
Tera Guru

Hi @Mayur Patil2 ,

 

If needed add an if condition on the first line to check whether the assignment group is empty or not and then set the state value

FYR:

if (assignment_group==""){

g_form.addErrorMessage("Any message")}

else{

g_form.setValue();

gsft function

}

 

 

Regards