- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-31-2020 09:41 PM
Hi,
There is a table with check boxes that determine whether knowledge can be created.
If this checkbox is updated with true, a knowledge article will be created.
Up to this point, it was realized, but I would like to create it using a template.
When I create a template, I get the following error:
business rule:
add 29 Lines
How can I solve this and call the template I created?
Thanks in advance.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-31-2020 09:53 PM
Hello MI,
applyTemplate is not available to scoped apps. Can you try with workaround mentioned here https://community.servicenow.com/community?id=community_question&sys_id=580e0baddb9cdbc01dcaf3231f96...
Reference script by Paul.
var sys_id_of_template = '56a8e507db6b26405accd5f0cf96190b';
var grObj = new GlideRecord('incident');
var t = new GlideTemplate.get(sys_id_of_template);
t.apply(grObj);
- Pradeep Sharma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-31-2020 11:10 PM
Hi,
Thank you for your infomation.
I'll refer to.
Regards,