[jboss-user] [JBoss jBPM] - Re: allow swimlanes to perform assignment at each reference?

2007-05-09 Thread dslevine
i made it work last night. ish. a few questions so I can submit a patch: - i added it to the Assignment element, not the swimlane element. thoughts? - I dont know how to update the XML Schema. is it somewhere in SVN? what is the proper way to do that as a patch, etc? also, i'm not quite c

[jboss-user] [JBoss jBPM] - Re: allow swimlanes to perform assignment at each reference?

2007-05-08 Thread dslevine
Hello! I remember reading this months ago and thinking "what would that be used for?" Well, now I need it. I'll hack a patch myself unless anything has anything handy...? dan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044160#4044160 Reply to the post

[jboss-user] [JBoss jBPM] - Re: jBPM 3.1 w Spring, integrity constraint violations (JBPM

2007-04-03 Thread dslevine
no, single DB only (for now). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034349#4034349 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034349 ___ jboss-user mailing list j

[jboss-user] [JBoss jBPM] - Re: jBPM 3.1 w Spring, integrity constraint violations (JBPM

2007-04-03 Thread dslevine
Another notable: I disabled the constraint to see if it was actually going to write the correct data and it was just the commit order as I suspected, or if the parent key was really not being saved. Turns out, the parent key (Task Instance) is not being saved or is actively being deleted duri

[jboss-user] [JBoss jBPM] - Re: jBPM 3.1 w Spring, integrity constraint violations (JBPM

2007-04-03 Thread dslevine
Sorry for lack of clarity: using Oracle 10g, Tomcat 5.5, jBPM 3.1.2 It's one of those errors that chains up to the Hibernate save so there's no code reference to point to. Any pointers or ideas of where to start would be awesome. View the original post : http://www.jboss.com/index.html?mo

[jboss-user] [JBoss jBPM] - jBPM 3.1 w Spring, integrity constraint violations (JBPMUSER

2007-04-03 Thread dslevine
Using jBPM with Spring and Hibernate, I am sometimes getting: java.sql.BatchUpdateException: ORA-02291: integrity constraint (JBPMUSER.FK_LOG_TASKINST) violated - parent key not found When signalling/ending a task. Only sometimes though, and seemingly randomly. Some notable behaviour: - The

[jboss-user] [JBoss jBPM] - Re: EL Condition failing

2007-03-28 Thread dslevine
re-reading the error message, it looks like it uses the right half of the expression to determine the type, and then attempts to convert the left half to that type. (check the source code to confirm.) so I'd still suggest the same plan -- figure out how to make the right side of the equation a

[jboss-user] [JBoss jBPM] - Re: EL Condition failing

2007-03-28 Thread dslevine
Without having looked at the JBPM source code in this section, it looks like its doing a Double to Long comparison and getting an error. Would #{ amount > 1000.00 } make a difference? Or something like #{ amount > (Double) 1000.00 } ? (i'm not sure of the syntax of casting in EL.) d Vi

[jboss-user] [JBoss jBPM] - Re: Question About Launching a Workflow from Within Another

2007-03-27 Thread dslevine
I do this the way you suggest in bold. I implement it using custom Actions which use Java code to create new process instances. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032280#4032280 Reply to the post : http://www.jboss.com/index.html?module=bb&op=

[jboss-user] [JBoss jBPM] - Re: setting and accessing process variables in jpdl

2007-03-27 Thread dslevine
i am using 3.1.2 and script works for my use cases. Can you post the specific code that is having problems? Here is a sample of script code I use, where contractSummary is a variable placed into the workflow context in Java code: | | | |

[jboss-user] [JBoss jBPM] - Re: setting and accessing process variables in jpdl

2007-03-27 Thread dslevine
I think you can do all that. I dont see "$myVar" in your code sample, and your second sentence didn't quite finish. Look at decision nodes, and look at the script elements and variable tags in jpdl. Take a look in the docs and post here if you need clarification. View the original post : ht

[jboss-user] [JBoss jBPM] - Re: Best practices for cancelling a workflow

2007-03-25 Thread dslevine
I am handling this in my workflow application similar to the second way you are considering, by adding a "cancel" node and linking that with transitions. I only link it to the major nodes though, and assume that it can make it to a major node before being cancelled. I would be curious to hear

[jboss-user] [JBoss jBPM] - Re: JBPM3.1 Beta2: comparing hibernate proxies against the r

2007-03-23 Thread dslevine
Using jBPM with Spring and Hibernate, I am sometimes getting: java.sql.BatchUpdateException: ORA-02291: integrity constraint (JBPMUSER.FK_LOG_TASKINST) violated - parent key not found When signalling/ending a task. Only sometimes though, and seemingly randomly. I'm using Hibernate 3.1 still.

[jboss-user] [JBoss jBPM] - Re: Can JBPM support the workflow version management?

2007-03-10 Thread dslevine
step 1: Google search for "jpbm docs" step 2: click on the first link step 3: find the User Guide on the page step 4: click on the link to go to the User Guide table of contents step 5: search the page for "version" step 6: click on the link to go to the chapter on "Process Versioning" step 7: feel

[jboss-user] [JBoss jBPM] - Re: Can JBPM support the workflow version management?

2007-03-10 Thread dslevine
Yes, that is the default behavior of JBPM. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026901#4026901 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026901 ___ jboss-user m

[jboss-user] [JBoss jBPM] - Re: multiple comparations

2007-02-26 Thread dslevine
As previously suggested, you need to escape the characters. Try && d View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022670#4022670 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4022670

[jboss-user] [JBoss jBPM] - Re: RSS feed of this BB

2007-02-15 Thread dslevine
ps: mine filters out the sticky threads, and shows number of replies, so there! but then again, the free feeds from feed43 only updates every 6 hours. thanks ronald... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017205#4017205 Reply to the post : http:

[jboss-user] [JBoss jBPM] - Re: RSS feed of this BB

2007-02-15 Thread dslevine
OK. I knew that there *had* to be one, but aside from knowing the url that this BB software in particular uses for RSS how should i have known that? If there is an RSS icon/link somewhere that i didnt see i'm going to cry View the original post : http://www.jboss.com/index.html?module=

[jboss-user] [JBoss jBPM] - RSS feed of this BB

2007-02-14 Thread dslevine
I couldn't find a link for an RSS feed of BB topics for my google homepage, so I created one with Feed43. Here's the link: http://feed43.com/3435677815055845.xml It doesnt have actual post enclosures unfortunately, but it's got the post subjects at least! View the original post : http://ww

[jboss-user] [JBoss jBPM] - Re: Eclipse Designer tips... how to find+fix XML problems?

2007-02-02 Thread dslevine
Sweet! Thanks for the update Koen. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4010125#4010125 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4010125 ___ jboss-user mailin

[jboss-user] [JBoss jBPM] - Eclipse Designer tips... how to find+fix XML problems?

2007-02-01 Thread dslevine
I love the graphical design editor in Eclipse, but I often find that by editing the actions/script in the XML not carefully enough, or sometimes even just saving, closing, and opening it again, I get an error and cannot open the file in the designer. I then go through a slow and arduous process

[jboss-user] [JBoss jBPM] - Re: anyone define swimlanes externally (DB, shared xml, etc?

2007-01-24 Thread dslevine
That seems like the perfect solution, and I just wasn't aware of that XML parsing functionality. I'll test it out. Thanks Alex! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006123#4006123 Reply to the post : http://www.jboss.com/index.html?module=bb&op=p

[jboss-user] [JBoss jBPM] - anyone define swimlanes externally (DB, shared xml, etc?)

2007-01-23 Thread dslevine
Has anyone defined swimlanes externally to the process definition? (Does that even make sense?) I have many workflows that involve the same swimlanes, and right now I am cutting and pasting the XML into each process, which is not the idea situation for many reasons, the most obvious of which i

[jboss-user] [JBoss jBPM] - Re: How to Deploy my process?

2007-01-22 Thread dslevine
the new alpha release of the eclipse plug in fixes everything! thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4005142#4005142 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4005142 ___

[jboss-user] [JBoss jBPM] - Re: How to Deploy my process?

2007-01-22 Thread dslevine
"DavidR" wrote : Not to worry. I was using AppFuse 1.9.2 which included the latest commons-fileupload.jar. I changed it for the older ver that comes with the jbpm starter kit and it worked fine. I need the newest commons-fileupload.jar. I'll rewrite the UploadServlet to be compatible unless so

[jboss-user] [JBoss jBPM] - Re: Find a process via variable associated with it - unique

2007-01-14 Thread dslevine
I am trying to figure out the best way to do this as well. Please share any ideas you come up with. The way I have come up with for now is to define a link from my object to the variableInstance object in Hibernate. (Assuming you are saving your objects as HiberateLongVariable type objects.)

[jboss-user] [JBoss jBPM] - Re: jBPM 3.1 + Spring 2.0 + Tomcat 5 + TX demo app

2007-01-10 Thread dslevine
workflow.htm maps to workflow.jsp in the Spring mappings.xml file. workflow.jsp is at: jbpm31Spring20Demo/WEB-INF/jsp/cms/workflow/ It is not a full fledged workflow application, but just a demo of how to get something up and running integrated with Spring. I have made some progess since i

[jboss-user] [JBoss jBPM] - Re: HibernateLongInstance Object Persistance basic question,

2007-01-04 Thread dslevine
Problem solved. I am an idiot and didnt read the docs properly at 2am. (Answer for anyone else trying to figure this out is to override the org/jbpm/context/exe/jbpm.varmapping.xml file with your own jbpm.varmapping.xml in the classpath.) However, I am surprised that it doesn't automatically

[jboss-user] [JBoss jBPM] - Re: JBPM DB Upgrades

2006-12-27 Thread dslevine
I dont have a jBPM answer for you, but if you create the new schema in a different DB you can pretty easily use Oracle tools (i.e. a free trial download of Toad Xpert Edition) to generate a schema diff SQL script. If you do so, maybe post it? =) View the original post : http://www.jboss.com/

[jboss-user] [JBoss jBPM] - Re: Implementing AssignmentHandler

2006-12-27 Thread dslevine
Thanks for the reply, kind sir. Could you point me towards the mapping file? I dont see it in the package with ExpressionsAssignmentHandler. d View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996488#3996488 Reply to the post : http://www.jboss.com/index.ht

[jboss-user] [JBoss jBPM] - Re: AssignmentHandler problem

2006-12-27 Thread dslevine
FUN FUN FUN! I would be happy to do that, but I don't understand the Identity module interaction with the rest of the system well enough to understand the best design for morphing it into a service. I think extending/overriding the identity module is a good place to start, and once I understan

[jboss-user] [JBoss jBPM] - HibernateLongInstance Object Persistance basic question, how

2006-12-27 Thread dslevine
Cuddled up so warm in my office at 2am between XMas and NYE, full of holiday cheer!! Happy (almost) New Year everyone! =) I am adding a Hibernate variable to the contextInstance, and would like for it to persist with the HibernateLongInstance: HibernateLongInstance (this is used for hibernata

[jboss-user] [JBoss jBPM] - Re: AssignmentHandler problem

2006-12-26 Thread dslevine
In case anyone else runs into this problem, I think I've stumbled upon a solution. It seems that: | | | will not recognize the custom handler, but this will: | | user(danlevine) | | as will this: | | user(danlevine) | |

[jboss-user] [JBoss jBPM] - Re: AssignmentHandler problem

2006-12-26 Thread dslevine
Exact process def: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |

[jboss-user] [JBoss jBPM] - Re: AssignmentHandler problem

2006-12-26 Thread dslevine
To be a little more clear, I have tried to use | | ... | and I have tried to use swimlanes and do | | | | |... | | | |... | | But both times the app still calls to ExpressionAssignmentHandler to calculate user(me).

[jboss-user] [JBoss jBPM] - Implementing AssignmentHandler

2006-12-26 Thread dslevine
I'm just starting to try and implement my own AssignmentHandler. Simple question on the existing implementation, ExpressionAssignmentHandler. The code is: | public class ExpressionAssignmentHandler implements AssignmentHandler { | | private static final long serialVersionUID = 1L;

[jboss-user] [JBoss jBPM] - Re: AssignmentHandler problem

2006-12-26 Thread dslevine
Could you please be a little more in depth as to how you remove the identity component and implement your own? If I create the class MyAssignmentHandler in my project, how do I tell jBPM to use that specific assignment handler? Are there any other steps you went through? Thanks! (I also cann

[jboss-user] [JBoss jBPM] - jBPM 3.1 + Spring 2.0 + Tomcat 5 + TX demo app

2006-12-12 Thread dslevine
No one had one to share, so I'll post mine now that I figured it out... somewhat. VERY rough demo app posted here: http://wiki.jboss.org/wiki/Wiki.jsp?page=Jbpm31AndSpring20Demo There is no identity integration yet, but the app runs with Spring, Hibernate, Tomcat, Transactions. More info on t

[jboss-user] [JBoss jBPM] - schema table choice for hibernate mapping files

2006-12-12 Thread dslevine
Hello Again, I've been slogging along with my Spring JBPM integration and hope to be able to contribute a working demo app in the near future. Along the way I have many questions, of which here is one: - Why are the tables all defined in the default schema instead of in a jbpm specific schem

[jboss-user] [JBoss jBPM] - Re: process image display layout error? (from webapp tag)

2006-11-28 Thread dslevine
that [img] tag didnt work. :-/ I'll link and post inline here below. The 'currently you are here' highlight on the workflow image is misaligned. Hmm. Image as URL: http://allnicepeople.com/dan/images/jbpmWorkflowImageLayoutError.jpg and inline: View the original post : http://www.jboss.c

[jboss-user] [JBoss jBPM] - process image display layout error? (from webapp tag)

2006-11-28 Thread dslevine
The XML process that I created by hand and then laid out using the GPD editor is showing up strangely. screengrab: [img]http://allnicepeople.com/dan/images/jbpmWorkflowImageLayoutError.jpg[/img] I'm guessing this has to do with the gpd.xml that I also created by hand, but I'm not sure where

[jboss-user] [JBoss jBPM] - Re: Can I import XML into Graphical Process Designer?

2006-11-28 Thread dslevine
update to anyone else having this problem, I was able to manually make the gpd.xml file appear properly after playing around with everything. You can do it! Thanks... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989559#3989559 Reply to the post : http:/

[jboss-user] [JBoss jBPM] - Re: Waiting for external input

2006-11-27 Thread dslevine
You would not need to send any input to a node, but rather you would need to send the input to a specific process instance which is waiting for that input on a node. So the external system needs to know the id or the instance that is waiting. (Or any qualifier that would find one or more proce

[jboss-user] [JBoss jBPM] - Re: Role Management

2006-11-27 Thread dslevine
Do the users change over time or just the user names? Are you using the default jBPM identity module to manage users or a different one? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989158#3989158 Reply to the post : http://www.jboss.com/index.html?module

[jboss-user] [JBoss jBPM] - Can I import XML into Graphical Process Designer?

2006-11-27 Thread dslevine
I built a test workflow in XML, and now would like to display/edit it using the Graphical Process Designer. Is there a way to import the XML and automatically create a viable gpd.xml file? I have tried to create a valid one by hand, but I must be missing something as when I open the process de

[jboss-user] [JBoss jBPM] - Re: jBPM + Spring + Tomcat + Hibernate/Oracle + Standalone A

2006-11-14 Thread dslevine
wish i could edit my original title to "looking for demo config of..." I hate non-descriptive titles of what the post is... sorry :-/ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985921#3985921 Reply to the post : http://www.jboss.com/index.html?module=bb

[jboss-user] [JBoss jBPM] - jBPM + Spring + Tomcat + Hibernate/Oracle + Standalone App

2006-11-14 Thread dslevine
Hello again, I've been playing with the getting started app -- very cool!!! -- and would like to start playing in my eventual environment. As the title indicates, I would like to integrate jBPM into other applications, based on Spring 2.0 + Tomcat 5.5 + Hiberate (wrapping Oracle 10g). Are the

[jboss-user] [JBoss jBPM] - Re: running jbpm core engine

2006-10-20 Thread dslevine
dsrkreddy ~ I'm new here as well. The documenation for getting started is really great, so I'll second kukeltje's recommendation. try here first: http://wiki.jboss.org/wiki/Wiki.jsp?page=JbpmGettingStarted that will help you to get an overview of jBPM as a standalone app. There are also many

[jboss-user] [JBoss jBPM] - Re: Training Courses? ...and HELLO!

2006-10-20 Thread dslevine
My French is limited to what I needed to get by in the alps for a few weeks while playing in the snow in Meribel. While I can safely pass slower skiers and order myself a beer, I don't think any amount of sharpening will get me to "technical training" conversation level anytime soon. c'est la

[jboss-user] [JBoss jBPM] - Training Courses? ...and HELLO!

2006-10-19 Thread dslevine
First off... HELLO! I'm new to the jBPM world. After evaluating other workflow engines, jBPM is by far the best match for my needs... looking to integrate wofkflow capabilities into custom CMS-ish software at my company. I look forward to digging in more deeply, and I thank everyone in advanc