Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-129928

As an Operations Manager, I want to create a Workflow definition using the Source editor

    Details

      Description

      As an Operations Manager, I want to create a Workflow definition using the Source editor so that I can create a workflow process using XML.

      Design Deliverables

      Mockup

      Context

      In order to satisfy the growing needs and expectations of our users, the Workflow builder technology needs to evolve. The current technology limits us from evolving and achieving our low-code first vision. It was therefore decided that we will replace the current Kaleo Designer of Workflow built in Alloy with a new and improved Workflow Process Designer built in React and leveraging the React Flow Library.

      This will allow us to not only improve the UI/UX of the feature, but also enable the company to drastically reduce the cost to maintain and develop new features in the Workflow Process Builder. Overall, this migration is key to the future goals of Workflow, the Low Code Initiative and Commerce Use Cases.

       

      As part of this migration, we will be migrating the Source editor to react. This will allow users to design workflows in XML without the need to use the process builder. More information on crafting XML Workflow Definitions can be found here on Liferay Learn.

      With this functionality, coupled with the completion of LPS-140048LPS-139387 and LPS-140056, we will be able to create and publish a complete Workflow.

      In this Story's scope, users should be able to:

      1. Access the Source editor.
      2. Create a Workflow definition using XML.
      3. Save a Workflow.
      4. Publish a Workflow. 

      Not in this Story's scope:

      1. Import a Workflow definition. (This will be added in LPS-141713)

      Acceptance Criteria

      Given that a user is defining a new workflow process using the React Designer,
      when she clicks on the Source button,
      then the Source editor should appear. 

      Given that a user is defining a new workflow process using the Source editor,
      when she makes changes to the XML code,
      then these changes should be reflected in the Process Builder and vice versa. 

      Given that a user is defining a new workflow process using the React Designer,
      when he clicks the Save button,
      then a new workflow should be created.

      Given that a user is defining a new workflow process using the React Designer,
      when he clicks the Publish button,
      then the workflow should be published.

       

      Given that a user has defined a workflow process using the React Designer,
      and the a translation has been added,
      when the user views the workflow (via Workflow Tracker, My Workflow Tasks, etc), 
      then the workflow is localized according to the user's language selection. 

      Given that a user is defining a new workflow process using the React Designer,
      and a few translations have been added and edited,
      when he saves the workflow,
      then edits to all the translations in the instance are saved (not just edits to the current translation).

      Definition of Done (DoD):

      • All Acceptance Criteria were passed;
      • Make sure that the expected automated tests were created (unit / integration / functional) and passed successfully;
      • Code with peer review completed;
      • Validated by QA, Product Designer and/or PM;
      • No critical bug related to Story scope (ex.: similar of FP4, FP5);
      • Make sure that all system documentation were updated (if necessary)
      • Make sure that it has the extensions points needed to allow GS and customers to customize the feature (If applicable)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pt-zulu Product Team Zulu
              Reporter:
              nara.andrade Nara Andrade
              Engineering Assignee:
              Product Team Zulu
              Recent user:
              Pedro Michel
              Participants of an Issue:
              Product Designer(s) Assigned:
              Arthur Coninck
              Backend Developer(s) Assigned:
              Feliphe Marinho
              Frontend Developer(s) Assigned:
              Nara Andrade
              QA Engineer(s) Assigned:
              Ana Buchmann
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  7.4.3.9 CE GA9
                  7.4.13 DXP U5
                  Master