0 Replies Latest reply on Jan 26, 2010 4:29 PM by markus s

    restrict a jBPL process to be created only once

    markus s Newbie

      Hi,


      I modeled a jBPL process and all works fine. I can create tasks, start and stop them, Now I would like to restrict this process to be able to be started only once. Where can I model such a behaviour?


      My process defintion looks like this:



      <?xml version="1.0" encoding="UTF-8"?>
      <process-definition name="process-import">
          <start-state name="start">
              <transition to="import" />
          </start-state>
          <task-node name="import">
              <task name="import" description="Performes a reimport">
                  <assignment actor-id="#{actor.id}" />
              </task>
              <transition to="done" />
          </task-node>
          <end-state name="done" />
      </process-definition>
      



      Thanks in advance,
      Markus