I would like to know if is possible to assign a task within a start node to a 
particular user. The idea is that only a particular user can kick a process 
off. In this case it is when a product is bought and information is entered. 
Since only one person can buy products for the office, I only want that user to 
be able to start the process.

I have tried several different ways, swimlanes with expressions, custom 
handlers.. nothing seems to work, as the task appears in the start process list 
of every user.

<swimlane name="starter">
  |   <assignment expression="user(buyer)"></assignment>
  | </swimlane>
  | 
  | <start-state name="start">
  |   <task name="start task">
  |     <assignment class="assignment.BuyerAssignmentHandler"></assignment>
  |     <controller>
  |       <variable name="manufacturer" access="read,write,required"></variable>
  |       <variable name="name" access="read,write,required"></variable>
  |     </controller>
  |   </task>
  |   <transition name="started" to="item bought"></transition>
  | </start-state>

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

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


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to