Update State when user select a choice from popup

shaik23
Tera Expert

HI experts, i have a requirement When a user select a ui action then some choices have to display and after selecting the choice values then clicking ok the value has to set in the desired field and and the state should be set in to deferred. i have tried UI below script i am able to get the choices and able to set the values in filed called Move to deferred but failed to move to work flow it is stuck, please help me. i am providing the script please help.

 

I am unable to move the state.

 

 

Screenshot (107).png

 

 

 

 

 

 

 

 

Screenshot (99).pngScreenshot (100).pngScreenshot (106).png

2 REPLIES 2

Danish Bhairag2
Tera Sage
Tera Sage

Hi @shaik23 ,

 

I believe move to deferred is a custom field. Hence whenever you update it to delayed it does not have any impact on OOTB stages of the flow as delayed stage is not present OOTB.

 

The State field should go to which state?

 

Please mark my answer helpful & accepted if it helps you resolve your issue.

 

Thanks,

Danish

deferred is the another state it is present in state(sequence) before this they used the old script to send state to deferred which i commented in UI action u can see it's working fine. can you please check in PDI