- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2015 02:43 PM
I dont have a solution for the CALL table but I have used this awesome solution provided by Mark Stanger which you can use to add a template button to your INC form. http://www.servicenowguru.com/system-definition/advanced-templates/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2015 02:54 PM
Thanks,
I took a quick look at it and like you said it aint 100% what we are looking for, but Its pretty close. will give it some time later and look deeper and see what we can reuse 😃
My first thought is if we someone can use sysparm_something to throw in which template to use when I "submit" my Call. And that parameter is filled by a dropdownlist that shows what templates there are on incident.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2015 02:01 AM
Did you find a workable solution for this - I too would like the ability to assign a template to a call and have it create an incident based on that template and the contents of the call.
I've had a look at Victors suggestion but can't seem to make it work the way I want. At least it does add a nice feature to easily add a template to an incident.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2015 08:22 AM
Found a workaround for this which will work alongside Mark's template solution posted earlier:
1. Create a reference field on the call form named u_template pointing to the sys_template table.
2. In the BR (CallTypeChanged) find the section (ctype == 'incident') and add the following line: gr.u_template = current.u_template;
3. Find the (Apply Template) client script and comment out the following 2 lines:
//if(isLoading)
//return;
Not a pretty solution but it works. You'll have to play around with the commented conditions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2015 12:08 AM
Yea, thats pretty much my idea as well. Thou I think I'll make a own Client script to handle to "loading" part instead of changing the OOB one.
I'll come back to you amacqueen with my code. Hopefully I'll get it done in the weekend *cough*