[jboss-user] [JBoss jBPM] - Re: Questions about eMails in jBPM

Riket44 do-not-reply at jboss.com
Wed May 30 08:17:21 EDT 2007


I found and modified emails of those users.

Now, i wanted to recover the email of the first user (the person who fill the form in the start state) in the second task node.


  |    <start-state name="Envoyer la demande">
  |       <task name="Envoyer form">
  |          <controller>
  |             <variable name="Produit" access="read,write,required" ></variable>
  |             <variable name="Quantite" access="read,write,required" ></variable>
  |          </controller>      
  |       </task>
  |       <transition name="Envoi" to="Recevoir la demande"></transition>
  |    </start-state>
  |          
  |    <task-node name="Recevoir la demande">
  |       <task name="Recevoir form" swimlane="Manager">
  |          <controller>
  |             <variable name="Produit" access="read" ></variable>
  |             <variable name="Quantite" access="read" ></variable>
  |          </controller>   
  |       </task>
  |       <transition name="Accepter" to="Maj Comptes">
  |          <action name="action" class="com.demande.action.DemandeMaterielHandler">
  |             <indic>oui</indic>
  |          </action>
  |       </transition>
  |       <transition name="Rejeter" to="Fin">
  |          <action name="action" class="com.demande.action.DemandeMaterielHandler">
  |             <indic>non</indic>
  |          </action>
  |       </transition>
  |    </task-node>
  | 

I wanted to know if it was possible to get the email of the user of the start state, in the ActionHandler as I do with oui to do a thing like :  ??? .

I don't know if you understand what I mean, but thank you for your help.

Regards,

Richard T.

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

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



More information about the jboss-user mailing list