invokeProcessAction (Client API reference)

Applies to Dynamics 365 for Customer Engagement apps version 9.x

Invokes an action based on the specified parameters.

For more information about actions, see Actions overview


Xrm.Utility.invokeProcessAction(name,parameters).then(successCallback, errorCallback)


Name Type Required Description
name String Yes Name of the process action to invoke.
parameters object No An object containing input parameters for the action. You define an object using key:value pairs of items, where key is of String type.
successCallback Function Yes A function to call when the action is invoked.
errorCallback Function Yes A function to call when the operation fails.


On success, returns Web API result along with any action output.

Actions overview