[jboss-dev-forums] [jBPM Development] - Re: Oryx: Not able parse the knowledge when adding Message Events or Send Task Node

Tihomir Surdilovic do-not-reply at jboss.com
Thu Oct 6 10:39:24 EDT 2011


Tihomir Surdilovic [http://community.jboss.org/people/tsurdilovic] created the discussion

"Re: Oryx: Not able parse the knowledge when adding Message Events or Send Task Node"

To view the discussion, visit: http://community.jboss.org/message/630389#630389

--------------------------------------------------------------
Funny you ask as  I just committed this to designer couple days ago  -  https://issues.jboss.org/browse/JBPM-3382 https://issues.jboss.org/browse/JBPM-3382  :)  
It is very easy to create those yourself now in Guvnor, just use the following .wid configuration:

import org.drools.process.core.datatype.impl.type.StringDataType;
[
  [
    "name" : "Email",
    "parameters" : [
      "From" : new StringDataType(),
      "To" : new StringDataType(),
      "Subject" : new StringDataType(),
      "Body" : new StringDataType()
    ],
    "displayName" : "Email",
    "icon" : "$protocol$://$host$/$subdomain$/rest/packages/$pkgName$/assets/defaultemailicon/binary"
  ],

  [
    "name" : "Log",
    "parameters" : [
      "Message" : new StringDataType()
    ],
    "displayName" : "Log",
    "icon" : "$protocol$://$host$/$subdomain$/rest/packages/$pkgName$/assets/defaultlogicon/binary"
  ]
]

and replace $protocol$, $host$, $subdomain$, $pkgName$ to your concrete values.

This will be available in the next designer release which should be available within next 3 weeks. If this is urgent for you, I can always craete an unofficial release which is based on master bits + this fix...let me know if you want that.

Hope this helps.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/630389#630389]

Start a new discussion in jBPM Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2035]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20111006/fac1b1a7/attachment.html 


More information about the jboss-dev-forums mailing list