Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1.33 KB

File metadata and controls

42 lines (30 loc) · 1.33 KB
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)
developer
JimDaly

getAllowedStatusTransitions (Client API reference)

[!INCLUDE./includes/getAllowedStatusTransitions-description.md]

Syntax

Xrm.Utility.getAllowedStatusTransitions(entityName,statusCode).then(successCallback, errorCallback)

Parameters

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.

Return value

Returns an object with .then() function. The parameter to the delegate is an array of numbers representing the valid status transitions.

Related articles

Xrm.Utility

[!INCLUDEfooter-include]