5.1. ProcActionsFrame

The ProcActionsFrame can be embedded to application screens. If the frame is linked with the process instance, the following components will be automatically displayed:

  • the start process button, in case if the process is not started yet

  • the buttons for task outcomes, in case if the process is started and the current user has an active task

  • the cancel process button

  • the task information panel (name and creation date)

The predicative listener can be assigned to each of the process actions in order to check if the action can be performed (e.g. predicate commits an editor and if the commit failed, a process action is not performed). The post-action listener can also be defined (e.g. listener will close the editor and show the notification).

The sequence of steps to initialize the frame in the screen controller code:

  • Assign all required predicates and post-action listeners to the frame

  • Invoke the init() method with the procInstance argument