Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

How to trigger playbook automation to check mandatory fields on click of playbook action button

Harsh_Deep
Giga Sage

Hi Community,

I need to create a custom playbook activity in workspace ServiceNow that includes two buttons: "Validate" and "Reject".

  • When clicking "Validate", the script should check whether specific fields are filled.

    • If the required fields are populated, the process should proceed to the next activity.

    • If any required fields are empty, an error message should be displayed, preventing progression.

  • The "Reject" button should allow users to reject the playbook lifecycle without validation.

Any guidance or examples would be appreciated!

Thanks in advance! 🚀

Harsh_Deep_0-1743103726443.png

 

0 REPLIES 0