Napomena
Pristup ovoj stranici zahtijeva autorizaciju. Možete pokušati prijaviti se ili promijeniti direktorije.
Pristup ovoj stranici zahtijeva autorizaciju. Možeš pokušati promijeniti direktorije.
Invokes an action based on the specified parameters.
For more information about actions, see Use actions
Syntax
Xrm.Utility.invokeProcessAction(name,parameters).then(successCallback, errorCallback)
Parameters
| 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. To specify a target, add a pair with Target as the key and an object with key values entityName and id as the value. |
successCallback |
Function | Yes | A function to call when the action is invoked. |
errorCallback |
Function | Yes | A function to call when the operation fails. |
Returns
On success, returns an object with the Web API result along with any action output. On failure, returns an object with error details.