title | description | author | ms.author | ms.date | ms.reviewer | ms.topic | applies_to | search.audienceType | contributors | ||
---|---|---|---|---|---|---|---|---|---|---|---|
getAllowedStatusTransitions (Client API reference) in model-driven apps| MicrosoftDocs |
Includes description and supported parameters for the getAllowedStatusTransitions method. |
adrianorth |
aorth |
03/12/2022 |
jdaly |
reference |
Dynamics 365 (online) |
|
|
[!INCLUDE./includes/getAllowedStatusTransitions-description.md]
Xrm.Utility.getAllowedStatusTransitions(entityName,statusCode).then(successCallback, errorCallback)
Name | Type | Required | Description |
---|---|---|---|
entityName |
String | Yes | The logical name of the table. |
statusCode |
Number | Yes | The status code to find out the allowed status transition values. |
successCallback |
Function | No | The function to execute when the operation succeeds. |
errorCallback |
Function | No | The function to execute when the operation fails. |
Returns an object with .then()
function. The parameter to the delegate is an array of numbers representing the valid status transitions.
[!INCLUDEfooter-include]