[JBoss-user] [JBoss jBPM] - ActorId from within process definition

2006-02-20 Thread mennen
Hi,

I've been trying to get the actorId (from inside my process definition) with 
the following methods, but no results (in database)

String actorId= executionContext.getTaskInstance().getActorId();
  |   
  | String actorId=executionContext.getTask().getActorIdExpression();
  |   
  | String actorId = 
executionContext.getTaskMgmtInstance().getSwimlaneInstance("demandeur").getActorId();
  |   
  | String actorId =executionContext.getJbpmContext().getActorId();



THis is the node in my process definition that is trying to get the ActorId :


  |   
  |
  |  
  |  
  |
  | 
  | 
  |   
  |   Date today = new Date();
  |   
executionContext.getContextInstance().setVariable("Date_demande",today);
  |   //String actorId= executionContext.getTaskInstance().getActorId();
  |   //String 
actorId=executionContext.getTask().getActorIdExpression();
  |   //String actorId = 
executionContext.getTaskMgmtInstance().getSwimlaneInstance("demandeur").getActorId();
  |   String actorId =executionContext.getJbpmContext().getActorId();
  |   executionContext.getContextInstance().setVariable("actor 
id",actorId);
  |   
  | 
  |   
  |
  |


Any ideas as to how to get the actorId??

Thanks in advance,



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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - actorId

2005-12-12 Thread Nassim
hi all,
i want to know how to define actors on Jbpm
thank you 
regards nassim

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user