The invocations feature allows you to invoke custom Apex code running within any of the orgs involved in the deployment. Using this mechanism, you can automate almost any complex custom setup and tear down actions. Fine-grained control over when, how, and how often the custom logic executes means you have complete control over the timing and frequency of the flow.

How to Add an Invocation to a Data Set or a Deployment Plan

Unlike most other features in Release, there is no single invocations details page that lists all the invocations. Instead, Release stores invocations within data sets and deployment plans.

To create an Invocations Templates there are different ways to add the Invocations in your Environment.

Steps to Add Invocations

  1. Once in the Invocation page complete the following.
  2. Click Add.
  3. In the Invocation Template list box, click the magnifying glass icon to show the list of available templates.
  4. For Invocation Target Org, select whether to invoke the endpoint in the source, destination, or control org.
  5. For Invocation Scope, select whether to invoke the endpoint in conjunction with the entire data set or an individual data set element within the data set.
  6. For Invocation Order, select whether to invoke the endpoint before or after deploying the data set/data set element.
  7. Click Save.
  8. Notice Release adds the new invocation to the data set’s Invocations table.
  9. Click Close.

How to Edit an Invocation

How to Edit an Invocation in a Data Set

There is no direct edit function for invocations in data sets. You must delete the invocation then recreate it.