Deployment Step: Function

Updated 1 month ago by Copado Solutions

A deployment step is an action that is executed by Copado during a deployment. With Copado, you can perform a wide variety of tasks as part of your deployments, from executing a Salesforce flow or a Copado webhook to deploying data or running a function, among other things.

In this article, we will show you how to create a Function deployment step. To do that, follow the steps below:

  1. Navigate to the Deployments tab and click on New to create a new deployment.
  2. Select Advanced (multi-step) as the record type. Alternatively, if you want to reuse the function in other deployments, you can include your Function step in an automation template, in which case you must select the Automation Template record type.
  3. Give your deployment a name and select a source credential.
  4. Add a destination org.
  5. Next, click on Add Step and select Function in the Type drop-down menu.
  6. Select a function. You will see that all the parameters included in your function will be displayed in the step:

Function step

  1. Click on Save.
  2. Add other steps if desired and click on Deploy to launch the deployment.


How did we do?