[jboss-user] [JBoss jBPM] - Optional actor-id

tom_goring do-not-reply at jboss.com
Wed May 14 14:23:14 EDT 2008


Hi,

I'd like to be able to optionally assign a task to a person in a group.
I.e. #{someexpression} may be an actorid but it maybe null
If #{someexpression} == null jBPM stack traces
If #{someexpression}== "" the assignment does not work (it belongs to the "" actor.

Any idea how to do this?


  | <task-node name="reviewContractor">
  |   <task name="Review" description="Xyz">
  |     <assignment pooled-actors="#{group}" actor-id="#{someexpression}"/>
  |    </task>		
  |   <transition to="done"></transition>
  | </task-node>
  | 

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

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



More information about the jboss-user mailing list