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.

Data Definition - adding Validation

poyntzj
Kilo Sage

Working on a playbook, and it has a few "Collect Data Activty" entries used to gather some data and achieve the next step.  Been asked to add validation on some of these (naming and duplication checking)

I can see the Data Definition, the Topic Variables.  However, I do not see a way to do any validation or any kind.

I'd settle for a regex for now to validate the name, but ideally a Client Script to do the same regex and then a Ajax call for a lookup.

 

Any ideas ?

2 REPLIES 2

Ankur Bawiskar
Tera Patron

@poyntzj 

check if this link helps

this link 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

I had read that, but no mention of validation of what is being inputted

Going to look at Questionnaire incase that has more options