Appendix B. Service Tasks: WS Task, Email Task, REST Task

Service task is a task that uses a service, such as a mail service, web service, or another service.

Red Hat JBoss BPM Suite contains the following predefined service tasks:

  • A Web Service task for invoking a web service from a BPMN2 process.
  • An Email task for sending emails through a mail server.
  • A Log task that calls the SystemOutWorkItemHandler class.
  • A REST task for sending REST calls.

Note that since the tasks extend the service task, their attributes are implemented as Data Input Set assignments, and Data Output Set assignments, not as separate properties.

To use the service tasks in your process:

  1. In Business Central, click AuthoringProject Authoring.
  2. In Project Explorer, locate the project and the respective process under BUSINESS PROCESSES.
  3. Open the process in Process Designer and click 3898 to expand the Object Library.
  4. Expand the Service Tasks section and drag and drop the selected service task to the required position on the canvas.

    user guide service tasks

For more information about service tasks, see Chapter 31, WS Task, Chapter 32, Email Task, and Chapter 33, REST Task.

If you require other task types, implement your task as instructed in Section 4.14, “Domain-Specific Tasks”.