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

As an App Admin, I want to deploy an App with multiple workflow steps and one same Form View

    Details

      Description

      As an App Admin, I want to deploy an App with multiple workflow steps and one same Form View

      Design Deliverables

      Mockups

      Context

      One of the main values provided by the App Builder is the automation of business operations. Once the creation of Standard Apps aren't well driven for this use case, we decided that we should offer a separate and special experience for users that wants to create Apps to automate a business process, in way that we can leverage on the Apps tools that we have (Data Objects, Form and Table Views) and enhance it with Workflow capabilities.

      The result is what we are calling "Workflow Powered Apps". A special type of App with an intuitive interface that can create Apps integrated to a Workflow, making any data gathered from Form Views flow through different steps of a process to be reviewed or even complemented with more information.

      In the scope of this Story, we want allow users to create an Workflow App that can make information of an Object navigate though steps of a simple linear Workflow using one same Form View to handle the data.

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

      1. Create/add one or more steps in the Workflow Process of the App (always linear);
      2. Define the name of the additional steps;
      3. Define the assignees of the additional steps;
      4. Name the transition to the following and previously steps of the additional steps;
      5. View, Edit and submit information on the deployed App that has a unique Form View and several steps.

      Acceptance Criteria

      1- Given that a user entered the Workflow Powered App creation experience
      when the user clicks in the "+" button that appear in the Workflow Process canvas,
      then the system add a new step in the linear Workflow Process and allow the user to configure it.

      • The step should be placed in the same place that the "+" appeared, between the "End-step" and the last added step (that can be the start step if no step was added yet);

      2- Given that a user successfully achieved the scenario the of the Acceptance Criteria 1,
      when the user selects the newly added Step;
      then the user should be able to name the selected step.

      • This steps should be treated as "tasks" node-type in the Workflow Engine.

      3- Given that a user successfully achieved the scenario the of the Acceptance Criteria 1,
      when the user selects the newly added Step;
      then the user should be able to define the assignees of the selected step.

      4- Given that a user successfully achieved the scenario the of the Acceptance Criteria 1,
      when the user selects the newly added Step,
      then the system should not display the "Data and View" option for that step.

      • This Form View selected in the Start-Step should be used on all steps of the Workflow App.

      5- Given that a user successfully achieved the scenario the of the Acceptance Criteria 1,
      when the user selects the newly added Step and clicks in "Actions",
      then the system should display the actions to transition to the next and previous step and allow the user to name them.

      • Those names should be displayed converted to transitions in the Workflow Engine and show this name as the Button's label and transition option when a instance enters this step.

      6- Given that a user published a Workflow App having only several additional steps
      when a user enters the App and successfully submits a new record,
      then the data submitted should be transitioned to the created steps accordingly to what was configured by the user in the Workflow App Builder.

      Definition of Done (DoD):

      • All Acceptance Criteria were passed;
      • Make sure that the expected automated tests were created (unit / integration / functional) and passed successfully;
      • Verify if the test labels were added;
      • 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

          1.
          [DS] Mockups Technical Task Closed Matheus Xavier  
          2.
          [PM] Acceptance Criteria Technical Task Closed Matheus Xavier  
          3.
          [DS] Mockups Adjustments Technical Task Closed Felipe Pires  
          4.
          Data Visualization Technical Task Closed Albino Júnior  
          5.
          Add actions creation for each step Technical Task Closed Brian Chan  
          6.
          Add intermediate steps Technical Task Closed SE Support  
          7.
          Create assignee component Technical Task Closed Brian Chan  
          8.
          Update endpoint to support the assignee configuration Technical Task Closed Brian Chan  
          9.
          [QA] Review ACs and Draft TCs Technical Task Closed Rodrigo Cunha  
          10.
          Add ability to retrieve the submit label for an Workflow App's entry Technical Task Closed Rafael Praxedes  
          11.
          Add default user notifications to Workflow Definitions Technical Task Closed Brian Chan  
          12.
          Create step addition Technical Task Closed Brian Chan  
          13.
          Add transitions buttons on workflow app list, edit and view entries Technical Task Closed Brian Chan  
          14.
          Add kebab button tooltip when user doesn't have permissions to manage entry Technical Task Closed Brian Chan  
          15.
          Show roles names on assignee column when is unassigned on list page Technical Task Closed Brian Chan  
          16.
          Add model listener tests Technical Task Closed Brian Chan  
          17.
          Show roles names when the task is unassigned on view entry page Technical Task Closed Brian Chan  
          18.
          Add transition button on view entry page Technical Task Closed Brian Chan  
          19.
          [QA] Manual validation - Round 1 Technical Testing Closed Rodrigo Cunha  
          20.
          "Primary" and "Secondary" actions crash when editing a Workflow App Impedibug Closed Inácio Nery  
          21.
          Workflow App creation page crashes after clicking on the "End" step when inside the "Actions" settings from another step Impedibug Closed Inácio Nery  
          22.
          User without admin role cannot assign a step to itself Impedibug Closed Brian Chan  
          23.
          Error happens when trying to deploy a Workflow App after adding a new step before choosing a "Main Data Object" Impedibug Closed Inácio Nery  
          24.
          [QA] Manual validation - Round 2 Technical Testing Closed Rodrigo Cunha  

            Activity

              People

              • Assignee:
                rodrigo.cunha Rodrigo Cunha
                Reporter:
                matheus.xavier Matheus Xavier
                Engineering Assignee:
                SE Support
                Recent user:
                Tayanna Sotero
                Participants of an Issue:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  Master