stapletj@tbh.net

Conditional publishing of knowledge articles

Discussion created by stapletj@tbh.net on Apr 19, 2017
Latest reply on Apr 19, 2017 by stapletj@tbh.net

I am looking to prevent people from publishing knowledge articles if they have outstanding tasks, as we'll be using the tasks in our workflow to manage revision requests.

 

Based on the validation rule in Incidents, I tried this validation rule syntax:

 

$(Status != "Published" ||
IsTrueForAllChildren⁽¹⁾("Knowledge#IssueResolution",
RecId,
"Task#Assignment.Rev3",
"$(Status == 'Completed' || Status == 'Cancelled' || Status == 'Rejected')"))

 

Have also tried with the first argument being just "Knowledge#"

 

I get the following error:
Warning: Knowledge# is not a business object in a call to IsTrueForAllChildren.

 

Is this a problem with my syntax, or is it not supported? Any suggestions?

Outcomes