invokeProcessAction (Client API reference)

Invokes an action based on the specified parameters.

For more information about actions, see Use actions


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.

Use actions