[jboss-user] [JBoss jBPM] - Re: can't get task list of an actor

galvino do-not-reply at jboss.com
Fri Jul 20 07:53:50 EDT 2007


this is my processdefinition:


  | <?xml version="1.0" encoding="UTF-8"?>
  | 
  | <process-definition xmlns="urn:jbpm.org:jpdl-3.1"  name="holiday-request">
  | 
  | 
  | 	<swimlane name="participant">
  | 		<assignment expression="user(ernie)"></assignment>
  | 	</swimlane>
  | 
  | 	<swimlane name="rh">
  | 		<assignment expression="user(martin)"></assignment>
  | 	</swimlane>
  | 
  | 
  | 	<start-state name="enter request">
  | 		<task name="request entry" duedate="">
  | 			<assignment class="ErnieAssignment"></assignment>
  | 			<controller>
  | 				<variable access="read,write" name="start date"></variable>
  | 				<variable access="read,write" name="duree"></variable>
  | 			</controller>
  | 		</task>
  | 		<transition to="evaluate request"></transition>
  | 	</start-state>
  | 
  | 
  | 	<task-node name="evaluate request">
  | 		<task name="request evaluation" duedate="" swimlane="rh">
  | 			<controller>
  | 				<variable access="read" name="start date"></variable>
  | 				<variable access="read" name="duree"></variable>
  | 				<variable access="read" name="info"></variable>
  | 				<variable access="read,write" name="decision"></variable>
  | 			</controller>
  | 		</task>
  | 		<transition to="give additionnal info" name="more info needed"></transition>
  | 		<transition to="end" name="approve/disapprove"></transition>
  | 	</task-node>
  | 
  | 	<task-node name="give additionnal info">
  | 		<task name="additional info entry" swimlane="participant">
  | 			<controller>
  | 				<variable access="read" name="start date"></variable>
  | 				<variable access="read" name="duree"></variable>
  | 				<variable access="read,write" name="info"></variable>
  | 			</controller>
  | 		</task>
  | 		<transition to="evaluate request"></transition>
  | 	</task-node>
  | 
  | 
  | 	<end-state name="end"></end-state>
  | 
  | 
  | </process-definition>
  | 

duedate is it an optional entry ?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066147#4066147

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4066147



More information about the jboss-user mailing list