Calling an automation service from a workflow automation
About this task
In Workflow Designer, you can discover automation services that are published in Business Automation Studio, and choose the operations that you want to call. As the result of the discovery, an automation service artifact is created as well as the business objects needed as inputs and outputs of the operations. An automation service has an interface with operations that you can then use as implementations in a service task of a service flow.
To call an automation service, you use a service flow and for each business function that you want to call you use a service task.
Service flows can invoke asynchronous implementations such as asynchronous automation services or asynchronous service flows. A service flow performs an asynchronous invocation, for instance, if an automation service is long-running and returns after some time later. Therefore, the calling service flow becomes of asynchronous nature too.
Procedure
To discover and call an automation service, complete the following steps:
After your automation service is created, you can select it as an implementation of a service task in a service flow. For information on how to use service flows, see Creating a service flow.
Service flows can be enabled for asynchronous invocations. If you intend to invoke asynchronous implementations, you need to check the Enable service flow for asynchronous invocation property in the overview tab of the service flow.
What to do next
After you're happy with your workflow automation service, you can install it to a workflow server and run it. See Installing workflow automations and automation services.
You must authorize users with the appropriate type of access, depending on the environment: administrative access to install to workflow servers in production environments, write access to install to any non-production workflow server, or read access to install to workflow servers in development environments.