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

Wiki Tutorial about creating workflows is incomplete/ misleading

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Neutral
    • None
    • 5.5.1
    • None
    • None
    • Magnolia 5.4.3
      Eclipse Mars Release (4.5.0) , tested with Luna as well
      BPMN2 Modeler - Diagram Editor (1.2.1.201510310115)

    Description

      Hello,
      There are some crucial info missing or not working as intended in Wiki tutorial , when we would like to create custom magnolia workflows

      1. Update the email workitem handler implementation
        When executing this workItem it's not finished. Next bpmn step is never executed unless following java code is added :
        final Map<String, Object> parameters = (Map<String, Object>) workItem.getParameter(WorkflowConstants.VARIABLE_DATA);
        manager.completeWorkItem(workItem.getId(), parameters);
      2. Process parameters
        Creating output mapping of mgnlData, but not storing anything into it, will result null map. If we would like to send e-mail and then launch ReviewForPublication workflow , it will recieve empty mgnlData map.
        Enclosed workflow and handler which were working

      Best Regards
      Jakub Romaniszyn

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              rgange Richard Gange
              khobar Jakub Romaniszyn
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoR

                  Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 0.25d
                    0.25d