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

Add support for timer to kaleo designer


    • Branch Version/s:
    • Backported to Branch:



      Kaleo Workflow supports the task-timers tag to provide timers within workflows.
      Developer Studio/IDE's Kaleo Designer also allows adding timers to workflows.
      Unfortunately, Control Panel's Kaleo Designer does not.

      Feature request

      Add support to timers in Liferay's Kaleo Designer.

      Definition of done

      Creating document
      1. Go to the Kaleo Designer.
      2. Create a new definition.
      3. Add a task to the definition.
      4. Double click on the task.
      5. There should be a "Timers" option in the left column.
      6. Double click in the "Timers" input.
      7. There should appear an editor asking for name, description and duration, with a button behind the duration to add other durations.
      8. Enter "test timer" as name.
      9. Enter "test desc" as description.
      10. Enter a duration of 5 hours.
      11. Click in "Add section" behind "duration."
      12. Add another duration of 6 hours.
      13. *There should be a checkbox to mark the timer as blocking."
      14. Check on the blocking checkbox.
      15. There should be a select with the options "Action", "Notification" and "Reassignment."
      16. Select the option "Action."
      17. An editor asking for a name and a description of an action script should appear.
      18. Enter "action test" as its name.
      19. Enter "action desc" as its description.
      20. Enter "script test" in the script input.
      21. Click in "Save."
      22. Go to "Source (Kaleo XML").
      • the document should contain the following sub-element:
      		<name>timer test</name>
      		<description>timer desc</description>
      				<name>action test</name>
      				<description>action desc</description>
      				<script>script test</script>
      Loading document
      1. Go to Kaleo Designer.
      2. Create a new definition.
      3. Go to "Source (Kaleo XML").
      4. Copy the content from the attached task-timers-definition.xml file. Paste it in the editor.
      5. Go back to the "View" mode.
      6. Double click in the task _TIMER_REVIEW_.
      7. There should be five task timers listed in the timers input, named timer 1, timer 2, ..., timer 5.
      8. Double click the "Timers" input.
      • There will be five timers, named timer 1, ..., timer 5, with descriptions in the form timer N desc.
      • The first timer will have two "durations", of 1 and two hours respectively.
      • The first timer will have an action (named timer 1 action), a notification (timer 1 notification) and an reassignment.
      • Timers 2, 3 and 4 will have, respectively, an action, a reassignment and a notification.
      • Timer 5 will have two actions, two notifications and one reassignment.

      This is best suited to be tested by a functional test. Test ticket: LRQA-34599


          Issue Links



              charlles.pinon Charlles Pinon
              marcellus.tavares Marcellus Tavares
              Recent user:
              Kiyoshi Lee
              Participants of an Issue:
              1 Vote for this issue
              9 Start watching this issue




                  Version Package
                  7.0.X EE