Using deploy anywhere integrations in workflows

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

  1. Go to Projects and select a project.
  2. Click Integrations > Workflows.
  3. Click Add.
    The workflow page is displayed.
  4. Click Create New Workflow.
    The workflow canvas is displayed.
  5. From the Connectors pane, click Connectors > Services.
    All services including packages services and deploy anywhere services are displayed.
  6. Select and drag the services on to the canvas. For example, the AddInt package service.
  7. Click the Addint package service and select Settings.
    The AddInt settings dialog along with the service name is displayed.
  8. 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.
  9. 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.
  10. 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.

  11. Click Next. The Incoming data page is displayed.
  12. Add the input values and click Next.
    The Test this action page is displayed.
  13. 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.
  14. Click Test.
  15. Click Done.
  16. Click Run.
    The workflow runs on the selected runtime.