[jboss-user] [jBPM] - DropDowns for Service Nodes/Work Item Defintions In Guvnor Web Designer(Oryx)

Ikram Babai do-not-reply at jboss.com
Wed Jul 17 17:20:34 EDT 2013


Ikram Babai [https://community.jboss.org/people/ikrambabai] created the discussion

"DropDowns for Service Nodes/Work Item Defintions In Guvnor Web Designer(Oryx)"

To view the discussion, visit: https://community.jboss.org/message/828500#828500

--------------------------------------------------------------
Hello Everybody,

We are using Guvnor primarily as a BPMN2 Process Repository with jBPM - For Service Nodes, the Oryx Deisgner that is embedded (and deployed as separate application) has a way to work with Work Item Defintions files that we create in Gunvor - My problem is that I need to be able to let the user select a value only from a selected list of values. 

My wid is like the - see the EnumDataType defined - the source code says the string passed into its constructor is a "className" - where do I put that class? I suspect it must point to a file Model Pojo jar that you can upload - but Can't there be an easy way - I really was fascinated to see the Enumeration in the Create New menu item - Is there a way to use Enumeration in this Wid and the Oryx will have it displaced as a combo? 

[
"name" : "JBpm5ESBDef7",
    "parameters" : [
      "ServiceCategory" : new StringDataType(),
      "ServiceName" : new EnumDataType("classname?"), 
      "CompleteTask" : new StringDataType(),
      "FromUri" : new StringDataType(),
      "RelatesToUri" : new StringDataType(),
      "ActionUri" : new StringDataType(),
      "ReplyToUri" : new StringDataType(),
      "FaultToUri" : new StringDataType()
    ],
    "displayName" : "JBpm5ESBDef7",
"icon" : " http://titan.homer.att.com:61680/drools-guvnor/rest/packages/HiveProcesses/assets/defaultlogicon/binary http://localhost:8080/drools-guvnor/rest/packages/HiveProcesses/assets/defaultlogicon/binary"
]


Pictorially (if not worth a thousand, I'm sure its worth a hundred words), all I need is what's show in the image below - I have been searching and found out the following two Jiras - I just hope they do not stand as bugs any more in version jBPM version 5.4 suite that are using.

 https://community.jboss.org/message/826811#826811?_sscc=t https://community.jboss.org/message/826811?_sscc=t
 https://bugzilla.redhat.com/show_bug.cgi?id=853042 https://bugzilla.redhat.com/show_bug.cgi?id=853042

  https://community.jboss.org/servlet/JiveServlet/showImage/2-828500-21169/Need+A+Combo.png  https://community.jboss.org/servlet/JiveServlet/downloadImage/2-828500-21169/450-211/Need+A+Combo.png
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[https://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/20130717/afda40d9/attachment-0001.html 


More information about the jboss-user mailing list