Creating workflows using deploy anywhere assets, that is package services or deploy
anywhere flow services is the same as creating regular workflows. However, you must configure the
runtime and sync your workflow afterwards.
Before you begin
If you want to use services defined in webMethods packages, make sure that the packages are
added to your project.
About this task
Creating workflows using deploy anywhere assets is same as creating regular workflows. The
following additional steps are required for deploy anywhere assets.
- Select Integration Runtime
- Configure the runtime on which the integration must run.
- Sync
- Syncs the packages with the runtime.
Note: You can access only flow services and Java™ services in a
workflow.
Assume that you have imported a package that has an Addint service to add two integers.
Procedure
-
Go to Projects and select a project.
- Click
.
- Click Add.
The workflow page is displayed.
- Click Create New Workflow.
The workflow canvas
is displayed.
- From the Connectors pane, click
.
All
services including packages services and deploy anywhere services are displayed.
- Select and drag the services on to the canvas. For example, the AddInt package
service.
- Click the Addint package service and select
Settings.
The AddInt settings dialog
along with the service name is displayed.
- Select a runtime from the Runtime drop-down menu. Select Show all
runtimes for the list of all runtimes and virtual runtimes that exist in the
environment.
The runtimes and the associated virtual runtimes are
displayed.
- To create a new virtual runtime, enter the virtual runtime name in the
Runtime menu and then click Create virtual
runtime.
The newly created virtual runtime is mapped to the Cloud
Designtime.
- Optional: In the Timeout in second(s) option, specify
the duration after which a timeout exception is invoked if the package service run exceeds the
defined limit. This limit must be lesser than the timeout limit specified for workflows.
This step is applicable only for Package Services.
- Click Next. The Incoming data page is
displayed.
- Add the input values and click Next.
The
Test this action page is displayed.
- Click Sync to synchronize the services to the
runtime.
To deploy to a different runtime, you need to synchronize the workflow.
During synchronization, the service is associated with the appropriate runtime
replicas.
- Click Test.
- Click Done.
- Click Run.
The workflow runs on the selected
runtime.