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.

Map Single line text to Reference field from Record Producer!!

Aryan
Tera Contributor

Hello All,

 

I made a single line text field Assignment group on portal and i want to map that field from Assignment group (reference field) on my Incident form , I tried Map to Field on Variable form but it is not working 

 

What should i do, any please help me on that!!

4 REPLIES 4

Mark Roethof
Tera Patron
Tera Patron

Hi there,

 

Can you share what you tried and is not working?

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

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

LinkedIn

Aryan_0-1711961730007.png

 

And what is the content of the Single Line Text variable? Is that genuine text? Or is it a sys_id, though just in a Single Line Text variable instead of a Reference?

 

If its genuine text, like a display value of a group, this will never work. You could use the script field of the Record Producer in that case.

 

Ofcourse the question, why didn't you use a reference variable?

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

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

LinkedIn

kkrushkov
Mega Sage

@Aryan,

I think you should use type reference instead for that. If you want to use single line text you should pass the sys_id of the group in order to work.