Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

BR 'Notify about article's checkout' is getting skipped when a new kb article created by a script

learn nv
Tera Contributor

Hi All,

I am creating a KB article through a script in an UI Action, Article is getting created but getting the following error message on the form.

"Conditon 'Condition: !(new KBCommon().isExternalArticle(current.article.getRefRecord())); Filter Condition: base_versionISNOTEMPTY^EQ' in business rule 'Notify about article's checkout' on kb_knowledge: KB0010440 evaluated to null; skipping business rule".

 

I am not seeing this error if we create an article manually.

 

Could you please suggest how to suppress this error? and I am not able to understand the code 'current.article.getRefRecord()', as I don't see any article field on the kb_knowledge table?

 

0 REPLIES 0