Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

How to populate article content into a new incident by using the Create Incident button available from knowledge articles

Eric24
Tera Guru

find_real_file.png

I found an older post from the below link and I was able to modify the URL to fill the Short description field and the Work notes field, but I was not able to make it work for the description or the Resolution notes. I used the dictionary field names for the fields, but it does not work. We have several knowledge bases and articles are created from all of them, but I tried a few variations, but none would work. Is there any other way this could be done please?

https://community.servicenow.com/community?id=community_question&sys_id=27cf43a5dbdcdbc01dcaf3231f96...

This is what I changed the URL to:

incident.do?sys_id=-1&sysparm_query=active=true^short_description=$[HTML:knowledgeRecord.short_description]^description=$[HTML:knowledgeRecord.kb_issue]^close_notes=$[HTML:knowledgeRecord.kb_resolution]^work_notes=(Created after Knowledge search: $[HTML:knowledgeRecord.short_description])&sysparm_stack=knowledge_home_launcher.do

1 ACCEPTED SOLUTION

Eric24
Tera Guru

I think I figured it out, but I will need to keep working on it. Thanks.

View solution in original post

10 REPLIES 10

Sai Kumar B
Mega Sage

@Eric 

I don't believe we have kb_issue and kb_resolution fields on kb_knowledge table records (KB articles) however, you can find the same fields on kb_template_kcs_article table records.

Those dictionary names come from the custom knowledge templates. Is that not what I should be using, the templates field's dictionary names?

 

find_real_file.png

Have you checked those dictionaries in the kb_knowledge table? Are they available? 

No, I did not find them and in that case, which fields should I be using?

Is there any other way to get to the same result anyways? Through a script for example?