[JBoss jBPM] - Re: task due date
by TejJBPM
Could you try this..update the process definition xml:
Delete this:
<timer duedate="1 minute" name="waitForApproval" transition="validee">
| <script name="alert">
| System.out.println("trop tard : validee !");
| </script>
| </timer>
Try this:
<task-node name="valider_demande">
| <description>
| Le valideur doit valider ouy refuser manuellement la demande ÃÂÃÂÃÂémise
| </description>
| <task name="valider_demande">
| <description>
| Le valideur doit valider ou refuser la demande de congÃÂÃÂÃÂé effectuÃÂÃÂÃÂée par le collaborateur. Si, lorsque la demande dÃÂÃÂÃÂébute, le valideur n'a pas pris de dÃÂÃÂÃÂécision, elle est automatiquement validÃÂÃÂÃÂée.
| </description>
| <assignment class="logica.actions.ValideurAssignmentHandler"></assignment>
| <controller class="logica.actions.EndTaskControllerHandler"></controller>
| <reminder duedate="20 seconds" repeat="yes"/>
| </task>
|
| <transition to="notifier_acceptation" name="validee"></transition>
| <transition to="notifier_refus" name="refusee"></transition>
| </task-node>
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247008#4247008
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247008
16 years, 3 months
[Installation, Configuration & DEPLOYMENT] - can a single application be undeployed?
by kdolan
if i have a jboss instance running multiple applications (e.g., ears),
* can i undeploy (i.e., shutdown) one application only without removing it from the deploy directory?
* if so, how - from an admin console? programmatically?
* finally, what is the earliest version of jboss this works in?
the basic scenario i need to support is:
1. jboss service starts w/ multiple applications (all running)
2. application A shuts application B down
3. application A performs some kind of an update (which cannot occur if application B is running)
4. application A re-starts application B
i cannot shut the entire jboss service down because application A must still continue to run.
i do not have control over both applications so it's not possible to build in some kind of communication that allows both to run but application B to appear "stopped" to users for the time of the update.
finally, i do not have control over the jboss version the applications are running in. i do not believe the applications will be running in the latest version but i don't know what version it is.
thanks! i greatly appreciate the feedback.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246998#4246998
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246998
16 years, 3 months