Discussion:
[jboss-user] [jBPM] - DropDowns for Service Nodes/Work Item Defintions In Guvnor Web Designer(Oryx)
Ikram Babai
2013-07-17 21:20:34 UTC
Permalink
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

Loading Image... Loading Image...
--------------------------------------------------------------

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]
Tihomir Surdilovic
2013-07-18 13:59:52 UTC
Permalink
Tihomir Surdilovic [https://community.jboss.org/people/tsurdilovic] created the discussion

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

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

--------------------------------------------------------------
We are integrating the jbpm data modeler into designer for the next release, at that point you should be able to set up your data structures there and reuse them during process modeling. Currently it is not possible.

HTH
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Ikram Babai
2013-07-18 14:04:17 UTC
Permalink
Ikram Babai [https://community.jboss.org/people/ikrambabai] created the discussion

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

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

--------------------------------------------------------------
Thank you Tihomir for the reply.

Can you please me know when is the next designer release due?

Regads,
IKB
--------------------------------------------------------------

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

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