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

Need help regarding persistence of workflow state

    XMLWordPrintable

Details

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

    Description

      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.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoR