Add 'Create Request' Option in Service Operation Workspace
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2023 04:03 AM
How can I adjust this code and add an option 'Create Request', when the user will choose this option he will be redirect to the instance url (should be dynamic) + esc?id=sc_category, for example: https://servicenow/esc?id=sc_category
The user should have two options: 'Create Incident' (working fine) and 'Create Request').
{
"contextual": [
"record",
"kb_view"
],
"newTabMenu": [
{
"label": {
"translatable": true,
"message": "New Incident"
},
"routeInfo": {
"route": "record",
"fields": {
"table": "incident",
"sysId": "-1"
},
"multiInstField": "sysId"
},
"condition": {
"tableDescription": {
"table": "incident",
"canCreate": true
}
}
}
],
"maxMainTabLimit": 10,
"maxTotalSubTabLimit": 30
}
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
In case someone is interested to do external navigation or navigate to the portal like in the OP, the minimal schema for an external url item is the following:
{
"label": {
"translatable": true,
"message": "Test Link"
},
"routeInfo": {
"external": {
"url": "/esc"
}
}
}
