Uploaded image for project: 'Magnolia Workflow Module'
  1. Magnolia Workflow Module
  2. MGNLWORKFLOW-213

Need help regarding persistence of workflow state

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Obsolete
    • Icon: Major Major
    • 5.3
    • 5.2.2
    • jBPM
    • None

      I have extended the workflow to split approval/publish into two different tasks.

      However, if I restart the server after approving (and pre-publishing) the state is lost.

      I notice in JcrPersistingProcessEventListener that the process state is persisted in beforeProcessCompleted/afterProcessCompleted when a process is started/finished.

      However, for each individual task, how do we persist the process?

      I've extended JcrPersistingProcessEventListener and persisted via afterNodeTriggered which does ultimately work, but is this the correct way? It's obviously called many more times than required as it's after ever ndoe trigger.

        Acceptance criteria

              ejervidalo Espen Jervidalo
              dean.pullen Dean Pullen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoR