Want to set default value of that column only when opened via service Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2023 05:24 PM
I have a Service Catalog.
Service Catalog Item has Table URL.
In other word, I will open that table via Service Catalog.
That table has choice type column.
I want to set default value of that column only when opened via service Service Catalog.
How can I configure it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2023 09:20 PM
How are you opening that table from service catalog item. Is it a record producer that creates a record in your table. If so than you can use record producer script to set the value in the field
current.field_name = 'value';
If its a link somewhere on the catalog item then value could be set to the new record via sysparm_query parameter in the url. For example the new incident record
instance_name.service-now.com?sys_id=-1&sysparm_query=short_description=Test Value