Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Work Item Handler definition
import org.drools.core.process.core.datatype.impl.type.StringDataType;
import org.drools.core.process.core.datatype.impl.type.ObjectDataType;
[
[
"name" : "loose-rules",
"description" : "invoke rules from an independent rule project",
"parameters" : [
"kbaseName" : new StringDataType(),
"fact" : new ObjectDataType()
],
"results" : [
"fact" : new ObjectDataType()
],
"displayName" : "Rule",
"icon" : "rule.png",
"category" : "extras",
"defaultHandler" : "mvel: new loose.rules.wih.LooseRulesWorkItemHandler( groupId, artifactId, version, 10000 )",
"documentation" : "index.html",
"mavenDependencies" : [
"example:loose-rules-wih:1.0-SNAPSHOT"
]
]
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.