Avatar

Community Advisor

No, You don't need any JS code for this.

Yes, You may need a test node before the alert step to check the record counts. If the records count is greater than 0 only then allow the transition to go ahead.