- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
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.