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

As an Objects Admin, I want to add custom validations using the Expression Builder Framework from Forms

    Details

      Description

      Context:

      Validate data to ensure the processes can be complete successfully is limited with current offerings and requires technical knowledge to be customized. Customers can't solve their specific use cases with the offerings we have currently and to customize it costs them more and takes more time to launch their solutions.

      This story is the first step to allow users to add validations to their Objects through the UI, and is based in the current Expression Builder Framework we have in the Forms component.

      Design deliverable

      Mockup Link

      Acceptance Criteria

      1 - Given an admin user,
      when modeling my Object,
      then I must be able to add validations using the Expression Builder Framework

      2 - Given an admin user,
      when managing my Object validation,
      then I must be able to define if that validation is active or not

      3 - Given an admin user,
      when managing my Object validation,
      then I must be able to use fields, operators and functions from sidebar to the expression builder

      4 - Given an admin user,
      when managing my Object validation,
      then I must be able to use fields from sidebar to the Groovy Script

      5 - Given an admin user,
      when managing my Object validation,
      then I must be able to see all fields related (custom fields, metadata, related) to the objects on the sidebar

      6 - Given a user adding a new entry in a object with validations,
      when adding a new entry in the Object,
      then I must only be able to submit the entry succesfully if it passes for all validations from that Object

      7 - Given a user adding a new entry in a object with validations,
      when editing an entry in an Object,
      then I must only be able to update the entry succesfully if it passes for all validations from that Object

      8 - Given an admin user,
      when updating an existing validation,
      then this validation must only affect the entries added or updated after the validation update

      9 - Given an admin user,
      when using a validation,
      then I must be able to use syntax as IF (conditional) and Date

      Definition of Done (DoD):

      • All Acceptance Criteria were passed;
      • Make sure that the expected automated tests were created (unit / integration / functional) and passed successfully;
      • Validated by QA and Product Manager;
      • No critical bug related to Story scope (FP5);
      • Make sure that all system documentation were updated (if necessary)

       

      Ticket Updates

      • We will work on at this time just in Date and If new functions;
      • We will add description and VLookup in the next story;

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              daniel.angotti Daniel Angotti
              Reporter:
              luiz.jardim Luiz Jardim
              Engineering Assignee:
              Selton Guedes
              Recent user:
              Evanilson Santana
              Participants of an Issue:
              Product Designer(s) Assigned:
              Victor Santos
              Backend Developer(s) Assigned:
              Selton Guedes
              Frontend Developer(s) Assigned:
              Carlos Montenegro, Mariana Malta (Inactive)
              QA Engineer(s) Assigned:
              Lucas Falcao
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  Master