How to Automate a Workflow Process by Combining function based Rule Properties and the SDK Toolkit extension
December 21, 2016
When working with parent-child cases, a common workflow is to close the parent case when all the child cases have been closed.We can easily automate this workflow using Dovetail tools and applications. Business RuleHere’s the rule that I want to create:When the last child case is closed, close the parent case.In order for this rule to function, I need to know when the last child case is closed.I can do that by looking at the number of open child cases on the parent case. When this number is equal to zero, I know that all of the children have been closed.But, out of the box, this number is not an available property.But I can easily create my own, using the function-based rule property functionality. NumberOfOpenChildCasesOnParent Rule PropertyFollowing the examples, I can create my own function-based rule property.Given the child case objid, I…