[jboss-user] [jBPM Users] - Re: workflow design about wait states
mmusaji
do-not-reply at jboss.com
Fri Sep 11 07:03:37 EDT 2009
Why doesn't this forum have an edit option!!!?
| public class ValidateOneRequest implements ActivityBehaviour {
|
| private static final long serialVersionUID = 1L;
| OneDetails oneDetails;
|
| public void execute(ActivityExecution execution) throws Exception {
| Thread.sleep(2000);//simulate a delay in processing.
| OneDetails oneDetails= (OneDetails)execution.getVariable("oneDetails");
| oneDetails = update(oneDetails); //update the object in some way (change a name)
| execution.setVariable("oneDetails", oneDetails);
| }
| }
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4254712#4254712
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4254712
More information about the jboss-user
mailing list