Using variables on the change_request table

mattmg
Tera Guru

Hey Friendly faces 🙂

 

Context:

I have record  producer for Change Request form, which we use to allow 3rd party users ( non-licensed) to submit their change request. On the form there are set of additional questions that they need to  respond to, based on specific Business/Application service (field on the table). Obviously this works fine and Variables are added to the form once record producer pass the values. 

 

Question:

Where I am struggling, is to make this Variables available to licensed users accessing Change Request form (via Change Request>Create New), what I don't want to do is to create  hundreds of fields on the table and map them.

 

Any idea how can I display the variables based on the field selection on the backend form itself?

11 REPLIES 11

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @mattmg 

 

Agree with @Ankur Bawiskar, variables can't be added in new change form, so the option is only record producer and is this change logged by 3rd party only then better keep it portal and  get the variable from there to change

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

mattmg
Tera Guru

I still don't like this approach, I try ti understand how record producer attach these variables to the end form

@mattmg 

variables will be shown on the form only if the record got generated via some record producer.

There is no other way to show variable editor on record on New form i.e. New record when user clicks New button from list

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

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

Hi @mattmg 

 

This is an OOTB (Out-of-the-box) configuration. When we add a variable to any record producer or catalog item, and when the user submits that request, the variable gets mapped to the form via backend mapping and creates a field in the variable editor where the user can view and interact with the variables.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Do you know if there's specific BS, Macro, script that does it.