Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

create record in new custom table

servicenow14710
Tera Expert

Hello developers, Can we create a new record for cutom table when we requestor requests/ order now in catalog item  by using script? Please provide your suggestions. Thanks!

5 REPLIES 5

Mark Roethof
Tera Patron
Tera Patron

Hi there,

 

Yes you can do so. Assuming you have a Flow (or Workflow) attached to your Catalog Item. Then include that record generation in the Flow. And in a lot of cases: no code.

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Hi @Mark Roethof : Thanks for your quick response!!

Im not using any workflow/flow designer. I want to do it when requester submits his request in catalog form using script include. Thanks!

Why would you not use a Flow or Workflow on a Catalog Item? Please explain 🙂 I have never come across such a situation.

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Hi @Mark Roethof : Thanks for your inputs.Im still designing this catalog item and havent yet created a workflow for this.So i want to achieve this using glideajax. Thanks!