Robert H
Mega Sage

Hello @Tom Lapkowicz ,

 

I have created a UI Action with the exact same configuration as the one mentioned in your post, and pasted your script. I only replaced the field names because I don't have all these custom fields on my end.

 

Then I clicked this action on a Demand where some fields were empty and also on a Demand where everything was filled. In both cases the dialog pops up with either the missing information warning or the completion confirmation. When I closed it it just closed as expected and I was back on the Demand form - nothing else happened, no submit, no "new record", etc. And looking at the script I would also not expect anything else to happen.

 

So something else must be the cause of the issue. Can you please try deactivating this UI Action and creating a new one with the same script, but a different (and unique) "Action name"?

 

PS: the first three lines (with the "event") and the last "return" are not necessary.

 

PPS: Are you familiar with the OOTB assessment surveys that get assigned to the Stakeholders when a Demand gets moved to Screening? The default survey also has questions related to Risks, see below. Based on the answers the Demand scores, including risk, get calculated using configurable weightings. It seems you are trying to achieve something similar, so I thought of mentioning it.

RobertH_0-1743709382744.png

 

 

Regards,

Robert