[jboss-user] [jBPM] - Re: Integrating jBPM in Existing Web Application along with Guvnor / Designer

2013-07-22 Thread Ikram Babai
Ikram Babai [https://community.jboss.org/people/ikrambabai] created the 
discussion

Re: Integrating jBPM in Existing Web Application along with Guvnor / Designer

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

--
Did I just put too much on a single post? 

I thought I will have a dozens of replies on this fourth day of my post (well, 
including the weekend)  :)  - 

Please respond - pick any point of your interest of the 10 posted  :)  -
--

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

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

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Integrating jBPM in Existing Web Application along with Guvnor / Designer

2013-07-19 Thread Ikram Babai
Ikram Babai [https://community.jboss.org/people/ikrambabai] created the 
discussion

Integrating jBPM in Existing Web Application along with Guvnor / Designer

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

--
Dear Commuity,

I'm into the jBPM /Guvnor/Designer suite for about two months now - so still a 
newbie - However, I feel like I have convered a good (at least horizontal) 
space. I have got many questions on the overall best practices that one should 
use to use various components of the suite.

*Background:* 

We are evaluating jBPM for executing processes that will dump data from some 
big data servers, do some manipulation and extract and dumpt the refined 
results into an RDBMS - The processes shoudl execute at cetain frequencies - 
lets say every 1 one - So we need a process triggering mechanism to invoke the 
BPMN2 process through jBPM runtime - we use quartz for that. The actual process 
will be designed by users using the Oryx designer that's embedded in Guvnor and 
then saved in the Guvnor's tables. We do not use the Human Task Service (not at 
least now) or any other rule base API that Guvnor exposes. Our Users will 
primarily be using Designer App to write the processes, compile and let the 
jBPM consume them.

Following is the high-high level design on which my questions below are based.

Tomcat Instance 1
|-
|   My Web App  |
|   Usual Supsects  |
|   (Hibernate/Spring)   |
|    |
|    |    
|  +    |
|   jBPM Core |
|   (Engine/Runtime)    |
| (Work Item Handlers)    |   In Instance1 we 
build jBPM Knowledge Base by getting BPMN2 Processes designed and stored in 
instnce 2 below 
|___|



Tomcat Intance2
|-
|   Guvnor + Designer  |
|    |
|    |
|    |
|    |    
|   |
|    Users Design    |
|  BPMN2 Processes  |
|   Save and Build   |
|__|


*1.  When to build the kBase in Instance1?*

Knowledge Base is what jBPM Core knows and cares about - once built, the core 
engine can pick any process using its ID and get it executed - Process are 
designed in Instance2 above. Once desgined, committed and package is built, how 
do I tell jBPM core in Instnace1 to rebuild its knowledge base so that the 
latest defintion of the changed proces is avaiable to it on the next cron 
trigger?  Is there a hook that Guvnor App provides that kicks in Instnace1 
right away as soon as the package in instnace2 is built?

The two easiest answers that I do not want to follow can be these.

a. Build Knowledge Base in instance1 every few minutes. Get latest process 
defintion from Instance2 every 5 mintues, for instnace: I dont like this option 
(and Im sure most of you won't). What if something bad happens during such a 
high frequency operation and kBase is not built successfully?

b. Currenly what Im doing is that everytime the user comes to the page (in 
Instance1) where process names are listed (from kBase), I re-create the kBase. 
Not a brilliant way of doing I agree - What if the users neverf comes to that 
page and just sings out after the kBase in Instnace2?

So please let me know if there is a nice way that I can build my kBase in 
Instance1 on every Prcess/Package Build in Instnace2.

*2.  What Happens to an in-progress process when changes are done to an 
exisiting process, package built and kBase built in instance1?*

Let say I know when and how to build my kBase - but then there can be some 
process which already started on the older version of the processes jBPM took 
from older kBase for execution? Will there exection be terminated or the 
runtime will execute the older version of the process and pick the new only in 
the next exection (not the current one)?

*3.  Versioning: Is there a way to tell jBPM to execute a particular version of 
a process?*

*4.  Partial BAM Reports? Possible?*

The Business Activity Modeling tables (nothing complex  2/3 tables - one being 
PROCESSINSTANCELOG) are populated whenever the jBPM exection flows enters and 
exits a particular node. It works nicely except when one node's execution (say 
a Service Node) faces a problem. Just yesterday, I faced this problem. Let me 
explain. Suppose a process is in execution and when it reaches to node 5 for 
example - once of who's parameter is a big data query and that query had a 
syntax error. Obviously exceptions were thrown from that Service Node - But 
jBPM didn't save anything

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

2013-07-18 Thread Ikram Babai
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=1containerType=14container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

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

2013-07-17 Thread Ikram Babai
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=1containerType=14container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user