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:
-
In Business Central, click Authoring
Project Authoring. - In Project Explorer, locate the project and the respective process under BUSINESS PROCESSES.
- Open the process in Process Designer and click to expand the Object Library.
Expand the Service Tasks section and drag and drop the selected service task to the required position on the canvas.
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”.