Add new field in RITM and make it visible only for one specific catalog item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2024 01:18 AM
Hi All
How to add a new field in RITM record and make it visible only for a specific catalog item
Also, How to make that new field fetch information present from a particular variable
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2024 01:23 AM
These are 2 things
Field - We create in Table and it is customization
Variable - You can create as per catalog item need.
Need more details to guide you better buddy.
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]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2024 01:24 AM
Hi Atul,
Its a field in RITM form
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2024 01:28 AM
Thanks for update. Before you create a new field please check , which is best table to create so that in future this field can be used as well.
What type of field it is? what value it store?
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]
****************************************************************************************************************

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2024 01:46 AM
Hi @MohammedYaseen What type of field you want to create and to fetch from variable what is the variable type?
You can create a field and with help of UI policy you can show it on the form.
your UI Policy will be on RITM table
cond: item is "your catalog item name"
UI Policy action: select your custom field and set visible to true.
now to fetch the variable value there are 2 ways with help of BR and client script.
1. onLoad client script
script:
var answer = g_form.getValue('variables.variablename);
g_form.setValue('fieldname',answer );
Business Rule: before insert,update checked
cond: item is your catalog name
script:
current.fieldname = current.variables.variablename;
Harish