The Zurich release has arrived! Interested in new features and functionalities? Click here for more

how to create a new Card in an existing Visual task board using script

Yahav Mor
Tera Contributor

Hi,

How can I create a new card using script in an existing visual task board. I tried this script but I had no luck:

YahavMor_0-1717926083414.jpeg

 

1 ACCEPTED SOLUTION

Anyway, your scripting is a bit off. The structure itself, though also some reference fields are missing. For example see this:

 

MarkRoethof_0-1717927672010.png

 

You've only scripted the lane and task reference.

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

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

LinkedIn

View solution in original post

9 REPLIES 9

Mark Roethof
Tera Patron
Tera Patron

Hi there,

 

What didn't work with the script? Nothing or did the vtb_task record got created though not linked to the board? Please provide a bit more context, that saves us from searching for things you already know. 

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

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

LinkedIn

@Mark Roethof card is not created at all in the relevant board

So is the card not created at all or is the card created though not linked to the board?

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

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

LinkedIn

@Mark Roethof card is not created at all and I dont know why