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

Need help regarding persistence of workflow state

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Obsolete
    • Affects Version/s: 5.2.2
    • Fix Version/s: 5.3
    • Component/s: jBPM
    • Labels:
      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: