[JBoss JIRA] Resolved: (JBPM-679) Add support for specifying process context variable values in the process definition xml
by Thomas Diesler (JIRA)
[ http://jira.jboss.com/jira/browse/JBPM-679?page=all ]
Thomas Diesler resolved JBPM-679.
---------------------------------
Resolution: Out of Date
> Add support for specifying process context variable values in the process definition xml
> ----------------------------------------------------------------------------------------
>
> Key: JBPM-679
> URL: http://jira.jboss.com/jira/browse/JBPM-679
> Project: JBoss jBPM
> Issue Type: Feature Request
> Components: Core Engine
> Affects Versions: jBPM 3.1.1
> Reporter: Charles Crouch
> Assigned To: Tom Baeyens
> Priority: Minor
>
> See forum posting for a full description. Basically it would be handy to be to do something like:
> <process-definition name='super'>
> <process-state name='p'>
> <mycontextvariable>myvalue</mycontextvariable>
> <sub-process name='sub' />
> <transition to='q' />
> </process-state>
> <process-state name='q'>
> <mycontextvariable>myvalue2</mycontextvariable>
> <sub-process name='sub' />
> </process-state>
> </process-definition>
> and
> <process-definition name='sub'>
> ...
> <action class='org.jbpm.tutorial.action.MyActionHandler'/>
> ...
> </process-definition>
> and then have MyActionHandler in the sub process do:
> Object object = executionContext.getContextInstance().getVariable("mycontextvariable");
> and have it pick up either myvalue or myvalue2 depending on which part of the process it was being called from
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 6 months
[JBoss JIRA] Resolved: (JBPM-680) TaskTimerExecutionDbTest - proper jbpmConfiguration is not passed to SchedulerThread
by Thomas Diesler (JIRA)
[ http://jira.jboss.com/jira/browse/JBPM-680?page=all ]
Thomas Diesler resolved JBPM-680.
---------------------------------
Resolution: Out of Date
> TaskTimerExecutionDbTest - proper jbpmConfiguration is not passed to SchedulerThread
> ------------------------------------------------------------------------------------
>
> Key: JBPM-680
> URL: http://jira.jboss.com/jira/browse/JBPM-680
> Project: JBoss jBPM
> Issue Type: Bug
> Affects Versions: jBPM 3.1.1
> Environment: WebSphere v5.1 Test Environment under WSAD 5.1.2
> DB2 v7 and MySql
> Windows XP
> Java 1.4.2_06
> Reporter: Chris OBrien
> Assigned To: Tom Baeyens
> Priority: Critical
>
> In the test - TaskTimerExecutionDbTest .testTimerExecution
> throws: junit.framework.AssertionFailedError: expected:<1> but was:<0>
> In the test - TaskTimerExecutionDbTest.testTimerExecutionRepeat
> throws: org.jbpm.JbpmException: closed JbpmContext more then once... check your try-finally's around JbpmContexts blocks
> I am using a custom jbpmConfiguration (changed my jbpm.test.cfg.xml to reference a db2.hibernate.cfg.xml instead of the default), but it does not get passed to the SchedulerThread.
> Creating a new SchedulerThread with the default constructor ends up using the default configuration/context. This causes the test to fail, as it is querying the wrong database inside the SchedulerThread when it looks for all due timers.
> Changing lines 146 and 185 from:
> new SchedulerThread().executeTimers();
> to:
> new SchedulerThread( jbpmConfiguration ).executeTimers();
> ...fixes both the tests from failing.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 6 months
[JBoss JIRA] Resolved: (JBPM-612) 10 minute tutorial
by Thomas Diesler (JIRA)
[ http://jira.jboss.com/jira/browse/JBPM-612?page=all ]
Thomas Diesler resolved JBPM-612.
---------------------------------
Resolution: Out of Date
> 10 minute tutorial
> ------------------
>
> Key: JBPM-612
> URL: http://jira.jboss.com/jira/browse/JBPM-612
> Project: JBoss jBPM
> Issue Type: Task
> Components: Documentation
> Reporter: Tom Baeyens
> Assigned To: Tom Baeyens
>
> A tutorial that explains what jPDL/jBPM can do to experienced developers.
> It should NOT contain handholding instructions like 'click here, now you see a this form...'
> It should contain the inputs, outputs and important artifacts of using jBPM and explain why using jBPM/jPDL is easier for them then writing it themselves.
> It should be an example that builds up in 3 stages:
> 1) a 3-task simple straight through process
> 2) add an email notification and reminder
> 3) include a piece of custom code via an action
> The first stage should highlight the 2 goals of jBPM/jPDL:
> * it's a language that can specify an execution spanning wait states (long running)
> * the graphical view of the process is the common language between developers and business analysts. it should be stressed that this view is a projection of the process (no round trip engineering).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 6 months