- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-18-2016 11:31 PM
Hi,
I'd like to create links to create incidents and automatically apply a template just by passing the template id in params of my url.
Something like this :
https://<....>.service-now.com/incident.do?sys_template_id=6e3389196ff28********
It would be similar to a click on a service catalog, but it will be more flexible to create and manage.
Is it possible easily in service now ?
Best Regards
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-19-2016 02:53 AM
Hi there,
I think this link could help you http://wiki.servicenow.com/index.php?title=Creating_a_Template_for_Change_Request_Tasks#gsc.tab=0
Add a new module to the Change Management application to create a new change request that uses the templates.
- Right-click the Change application and select Edit Application Menu.
- Click New in the Modules related list.
- A UI policy for New Record type modules removes the Arguments field from the form. To use the templates, it is necessary to construct a URL that references the templates.
- Give the module a name.
- Select the [change_request] table.
- Select URL (from arguments) for the link type.
- Enter the following in the Arguments field, but replace the link with the name of the appropriate master template.
change_request.do?sys_id=-1&sysparm_template=New Server
Using the module will create a new record, populated with the template as shown in this screenshot:
Good luck
Alicia
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-19-2016 02:53 AM
Hi there,
I think this link could help you http://wiki.servicenow.com/index.php?title=Creating_a_Template_for_Change_Request_Tasks#gsc.tab=0
Add a new module to the Change Management application to create a new change request that uses the templates.
- Right-click the Change application and select Edit Application Menu.
- Click New in the Modules related list.
- A UI policy for New Record type modules removes the Arguments field from the form. To use the templates, it is necessary to construct a URL that references the templates.
- Give the module a name.
- Select the [change_request] table.
- Select URL (from arguments) for the link type.
- Enter the following in the Arguments field, but replace the link with the name of the appropriate master template.
change_request.do?sys_id=-1&sysparm_template=New Server
Using the module will create a new record, populated with the template as shown in this screenshot:
Good luck
Alicia
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-19-2016 03:07 AM
Thank you very much it works fine with sysparm_template
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-02-2016 12:36 AM
Is it not a problem that the template is choosen based on the name? I can easily imagine name-duplicates for templates.
Is it possible to edit the url to take the sys_id of the template instead?