Now i just draft the process from business-central UI , a simple process with one business rule node , firstly , it looks the rule are not be invoked , it works well on jbpm5.x .
BTW , how can i register the eventlistener like DebugRuleRuntimeEventListener from the ui , then i can monitor the event .
rule "A Process Start - Valid Name"
$processInstance : WorkflowProcessInstance(processId == "com.domain.aprocess")
String(this not matches 'expression') from (String) $processInstance.getVariable("name")
throw new Exception("Invalid name. Please refer to the hint.");
Retrieving data ...