Designer 10.7 | webMethods BPM Task Development Help | Configuring Tasks | Working with Services in Tasks
 
Working with Services in Tasks
 
Adding a Service to a Task
Modifying a Service in a Task
Extending a Task with Custom Java Code
Software AG Designer enables you to include services in a task; these services can be invoked implicitly or as a simple task event action. Implicit service invocation is the recommended way to use services.
The Invoke Service action should be used only if:
*The service does not have any output results, or,
*The output results are not important or are not used.
An added service can be executed and used implicitly in any Assignment or Event condition or result configuration panel. When configuring a condition or result, you can select any service output result property just as you would select a Task Info or Task Data field. In this case, the service is executed automatically whenever it is referenced by the Task Engine. For more information, see Configuring Simple Task Conditions.
When executed, the service resolves all bound input parameters (if any). If these parameters changed since the last service invocation, the service updates the output results before they are used.
Note:
This automatic execution behavior is applicable only if the service is not used in any Invoke Service action. When a service is called by the Invoke Service event action, its automatic execution behavior is disabled.
For more information about working with services in tasks, see:
* Adding a Service to a Task
* Modifying a Service in a Task
* Extending a Task with Custom Java Code
Related Topics