IsValidStateTransition Function
Validates the state transition.
Parameters
Parameters allow for data to be passed to the function.
| Name | Type | Nullable | Unicode | Description |
|---|---|---|---|---|
|
Entity
|
crmbaseentity | False | True | The record to validate. |
|
NewState
|
Edm.String | False | False | The proposed state for the record. |
|
NewStatus
|
Edm.Int32 | False | True | The proposed status for the record. |
Return Type
| Type | Nullable | Description |
|---|---|---|
| IsValidStateTransitionResponse | False | The IsValidStateTransition function returns the following value. |
Entities
Use the IsValidStateTransition function with the following entity types:
| Name | Display Name | Description |
|---|---|---|
| activityfileattachment | Activity File Attachment | Attachment entity with data stored in file type attribute |
| appaction | App Action | |
| appactionmigration | App Action Migration | |
| appactionrule | App Action Rule | |
| applicationuser | ApplicationUser | Application User that has non-interactive access to the CDS system |
| attributeimageconfig | Image Attribute Configuration | Store configuration for each image attribute |
| bot | Chatbot | Represents a Power Virtual Agents Chatbot. https://powerva.microsoft.com/ |
| botcomponent | Chatbot subcomponent | Holds key authoring components of a Chatbot such a topics, entities, variables, etc. |
| catalog | Catalog | Entity for cataloging records to make it easier for your customers to find them on portals and through search. |
| catalogassignment | Catalog Assignment | Entity for assigning records to a specific catalog |
| chat | Teams chat | For internal use only. Entity which stores association data of Dynamics 365 records with Microsoft Teams chat |
| connectionreference | Connection Reference | |
| connector | Connector | Connector Entity to support Solutioning Integration |
| conversationtranscript | ConversationTranscript | Contains the transcripts of conversations between participants such as customers, Virtual Agents or Human agents. |
| customapi | Custom API | Entity that defines a custom API |
| customapirequestparameter | Custom API Request Parameter | Entity that defines a request parameter for a custom API |
| customapiresponseproperty | Custom API Response Property | Entity that defines a response property for a custom API |
| datalakefolder | Data Lake Folder | A folder is a place to store data in Azure Data Lake. |
| datalakefolderpermission | Data Lake Folder Permission | |
| datalakeworkspace | Data Lake Workspace | A workspace is a place to store data in Azure Data Lake. |
| datalakeworkspacepermission | Data Lake Workspace Permission | |
| dataprocessingconfiguration | Data Processing configuration | |
| entityimageconfig | Entity Image Configuration | Store image configuration for each entity |
| environmentvariabledefinition | Environment Variable Definition | Contains information about the settable variable: its type, default value, and etc. |
| environmentvariablevalue | Environment Variable Value | Holds the value for the associated EnvironmentVariableDefinition entity. |
| exportsolutionupload | ExportSolutionUpload | |
| featurecontrolsetting | FeatureControlSetting | featurecontrolsetting |
| flowmachine | Flow Machine | |
| flowmachinegroup | Flow Machine Group | |
| flowmachineimage | Flow Machine Image | |
| flowmachineimageversion | Flow Machine Image Version | |
| flowsession | Flow Session | Entity to store the information that is generated when a modern flow or UI flow runs. |
| keyvaultreference | Key Vault Reference | Contains data that refers to an Azure Key Vault containing credentials used to connect to secure web-hosted resources. |
| managedidentity | Managed Identity | Contains data to represent an Azure Active Directory Application used to connect to secure web-hosted resources. |
| mobileofflineprofileitemfilter | MobileOfflineProfileItemFilter | |
| msdyn_aibdataset | AI Builder Dataset | |
| msdyn_aibdatasetfile | AI Builder Dataset File | |
| msdyn_aibdatasetrecord | AI Builder Dataset Record | |
| msdyn_aibdatasetscontainer | AI Builder Datasets Container | |
| msdyn_aibfeedbackloop | AI Builder Feedback Loop | |
| msdyn_aibfile | AI Builder File | |
| msdyn_aibfileattacheddata | AI Builder File Attached Data | |
| msdyn_aiconfiguration | AI Configuration | |
| msdyn_aifptrainingdocument | AI Form Processing Document | |
| msdyn_aimodel | AI Model | |
| msdyn_aiodimage | AI Object Detection Image | |
| msdyn_aiodlabel | AI Object Detection Label | |
| msdyn_aiodtrainingboundingbox | AI Object Detection Bounding Box | |
| msdyn_aiodtrainingimage | AI Object Detection Image Mapping | |
| msdyn_aitemplate | AI Template | |
| msdyn_analysiscomponent | Analysis Component | |
| msdyn_analysisjob | Analysis Job | |
| msdyn_analysisresult | Analysis Result | |
| msdyn_analysisresultdetail | Analysis Result Detail | |
| msdyn_dataflow | Dataflow | |
| msdyn_dataflowrefreshhistory | DataflowRefreshHistory | |
| msdyn_entityrefreshhistory | EntityRefreshHistory | |
| msdyn_federatedarticle | Knowledge Federated Article | |
| msdyn_federatedarticleincident | Knowledge Federated Article Incident | |
| msdyn_helppage | Help Page | |
| msdyn_insightsstorevirtualentity | Insights Store Virtual Entity | Insights Store Virtual Entity |
| msdyn_kalanguagesetting | Knowledge article language setting | Allows you to select default language for knowledge authoring. |
| msdyn_kbattachment | Knowledge Article Attachment | |
| msdyn_kmfederatedsearchconfig | Search provider | |
| msdyn_kmpersonalizationsetting | Knowledge personalization | Allows users to personalize their knowledge search filters and knowledge authoring language. |
| msdyn_knowledgearticleimage | Knowledge Article Image | |
| msdyn_knowledgearticletemplate | Knowledge Article Template | Organizational Knowledge Article Template for Internal and external creation of Knowledge Articles. |
| msdyn_knowledgeinteractioninsight | Knowledge Interaction Insight | Knowledge Interaction Insight |
| msdyn_knowledgemanagementsetting | Knowledge Management Setting | Setup knowledge management for your organization. |
| msdyn_knowledgepersonalfilter | Knowledge search personal filter config | Allows you to configure and manage personal filter settings. |
| msdyn_knowledgesearchfilter | Knowledge search filter | Allows you to configure and manage filter settings. |
| msdyn_knowledgesearchinsight | Knowledge Search Insight | Knowledge Search Insight |
| msdyn_pmanalysishistory | PM Analysis History | |
| msdyn_pminferredtask | PM Inferred Task | |
| msdyn_pmrecording | PM Recording | |
| msdyn_pmtemplate | PM Template | |
| msdyn_richtextfile | Rich Text Attachment | Image or file attached to a rich text field |
| msdyn_serviceconfiguration | Service Configuration | |
| msdyn_slakpi | SLA KPI | |
| msdyn_solutionhealthrule | Solution Health Rule | |
| msdyn_solutionhealthruleargument | Solution Health Rule Argument | |
| msdyn_solutionhealthruleset | Solution Health Rule Set | Represents a set that owns a number of solution health rules. |
| msdyn_tour | Tour | |
| msdynce_botcontent | BotContent | |
| organizationdatasyncstate | OrganizationDataSyncState | Information regarding data synchronization state |
| organizationdatasyncsubscription | OrganizationDataSyncSubscription | |
| organizationdatasyncsubscriptionentity | OrganizationDataSyncSubscriptionEntity | |
| package | Package | |
| pluginpackage | Plugin Package | |
| processstageparameter | ProcessStageParameter | |
| provisionlanguageforuser | ProvisionLanguageForUser | |
| serviceplanmapping | Service Plan Mapping | Service Plan Mapping |
| sharedlinksetting | Shared Link Setting | Shared Link Setting |
| sharedobject | Shared Object | A record that is being shared in a real time collaboration session. |
| sharedworkspace | Shared Workspace | References a container that stores real-time collaboration data. |
| solutioncomponentattributeconfiguration | Solution Component Attribute Configuration | |
| solutioncomponentbatchconfiguration | Solution Component Batch Configuration | |
| solutioncomponentconfiguration | Solution Component Configuration | |
| solutioncomponentrelationshipconfiguration | Solution Component Relationship Configuration | |
| stagesolutionupload | StageSolutionUpload | |
| synapsedatabase | Synapse Database | This entity represents an external Synapse database and its associated datalake folder link. |
| synapselinkexternaltablestate | Synapse Link External Table State | Synapse Link external table states |
| synapselinkprofile | Synapse Link Profile | Synapse Link Profile |
| synapselinkprofileentity | Synapse Link Profile Entity | Entities associated with the Synapse Link profile |
| synapselinkprofileentitystate | Synapse Link Profile Entity State | Runtime state of the Synapse Link entity |
| synapselinkschedule | Synapse Link Schedule | Synapse link schedules |
| virtualentitymetadata | Virtual Entity Metadata | Holds metadata values for virtual entities |
| workflowbinary | Workflow Binary |