A Form Rule that is executing a Custom Function causes the Service Template to break.

A Form Rule that is executing a Custom Function causes the Service Template to break.

As per the title,

I have created a form rule with these rules (generalised):

Additional Field is a Pick List

Execute when a request is: Created & Edited 
on field change of {Additional Field}

Conditions:
{Additional Field} is "No"

Actions:

var confirm = await CS.confirm("Example");
if(confirm){  
       await CS.alert({
          title: "Redirection Alert",
          message: "Example",
          button_options: {
              label: "Ok",
              redirectTo: "Example"
          }
      });  
 
 }else{ 
 
}          


When I execute this custom function, the redirect works as expected. Clicking the 'No' button closes the confirmation pop up alert, allowing me to edit the fields as needed. Unfortunately, the other form rules stop triggering after this, and when I click the 'Add Request' button, it just keeps spinning.


Hoping someone has run into this before and has found a solution or work around.

I am testing this in the sandbox using the Request Portal Preview


                  New to ADSelfService Plus?