Introduction

Issue:

When moving a process containing a Web Service-based Reference Event from one environment to another, the Reference Event still points to the source environment. This KB article shows how to treat the web-based Reference Event in order to ensure that the process definition can be deployed in the destination environment without any errors.

Solution:

The following steps show how to treat the Web-based Reference Event in order to ensure that the process definition can be successfully deployed in the destination environment:

  1. Create an Environment Field containing the URL to the Web Service. 
  2. Note: The Environment Field should also exist in the destination environment with the Web Service URL for that environment.

    In the Constructor step of the Reference Event, do the following:

  3. Set the URL property with the Environment Field. This will ensure that the source Web Service is used in the source environment and the destination Web Service is used in the destination environment.
  4. Set the UseDefaultCredentials property with the Inline Function - Logical > True
  5. Note: The steps above should be performed for every Reference Event of the workflow process.

Below is an example of how to set the Inline Function: