Run Custom Task update allows you to run a series of arbitrary custom tasks on the virtual machines of an existing deployment.

Run Custom Task update allows you to perform the following tasks.

  • Operate at virtual machine level. Lets you operate on several components simultaneously in components and services.

  • Execute scripts without property change. Lets you execute the scripts without changing any service or component properties in an existing deployment.

To trigger a Run Custom Task update through the REST API, you must specify the following information.

  • All the tasks that need to be executed.

  • Input parameters for every task.

  • The node on which each task is executed.

  • The execution dependency for each task in a node. For example, one or more tasks might wait for the other tasks to execute and complete.

When one Run Custom Task update starts, it displays in the deployment overview page. The deployment timeline has a node that represents the current execution of the Run Custom Task update.

Run Custom Task supports rollback operation. When the custom task fails to execute or you want to revert the changes made earlier, you must execute another custom task to revert the change. This is because Application Services cannot generate a rollback script for arbitrary custom task.

There are two new REST APIs introduced to manage Run Custom Task.

  • Create and Schedule a Run Custom Task Update Profile

  • Update and Schedule a Run Custom Task Update Profile

For more information on REST APIs, see Using Application Services REST APIs.