[jboss-user] [jBPM] - Re: How to invoke a REST API's from BPMN?
Surendar Sadhasivam
do-not-reply at jboss.com
Wed Jan 11 06:00:08 EST 2012
Surendar Sadhasivam [http://community.jboss.org/people/surendarmx] created the discussion
"Re: How to invoke a REST API's from BPMN?"
To view the discussion, visit: http://community.jboss.org/message/645909#645909
--------------------------------------------------------------
Hi,
Thanks for the reply. Here I show how I my MVEL in my conf files
drools.rulebase.conf cintains,
"*drools.workDefinitions = JavaNodeDefinition.conf MyWorkDefinitions.conf*"
and
MyWorkDefinitions.conf contains,
"
*import org.drools.process.core.datatype.impl.type.StringDataType;*
*[*
* // the Notification work item*
* [*
* "name" : "Notification",*
* "parameters" : [*
* "Message" : new StringDataType(),*
* "From" : new StringDataType(),*
* "To" : new StringDataType(),*
* "Priority" : new StringDataType(),*
* ],*
* "displayName" : "Notification",*
* "icon" : "icons/star.png"*
* ]*
*]*
"
JavaNodeDefinition.conf contains,
"
*import org.drools.process.core.datatype.impl.type.StringDataType;*
*[*
* // the Java Node work item located in:*
* // project/src/main/resources/META-INF/JavaNodeDefinition.conf*
* [*
* "name" : "JavaNode",*
* "parameters" : [*
* "class" : new StringDataType(),*
* "method" : new StringDataType(),*
* ],*
* "displayName" : "Java Node",*
* "icon" : "icons/java.gif"*
* ]*
*]*
"
I have put all this conf files inside "\workspace\Testing\src\main\resources\META-INF" folder
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/645909#645909]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120111/0889ecc4/attachment-0001.html
More information about the jboss-user
mailing list