0 Replies Latest reply on Jul 18, 2007 6:14 AM by Pedro Mota

    @CreateProcess

    Pedro Mota Newbie

      Hi,

      I have two doubts about @CreateProcess

      (1) I don't understand how data is bound to a jBPM process instance (Seam does a lot of magic). Reading dvdstore code I see you can attach variables to the process using:

      @Out(scope=ScopeType.BUSINESS_PROCESS)

      Is this the way to bind data to the process?

      (2) Also, reading dvdstore I see:

      @CreateProcess(definition="OrderManagement", processKey="#{completedOrder.orderId}")

      Is this the way to attach the primary key of an entity bean to the process? This feature is not documented elsewhere

      Thanks in advance just for reading this ;-)