1
Vote

Cast Status as Picklist Error

description

I am trying to reference the statuscode field in the global template. when the workflow runs, it fails wit the following message.

Unable to cast object of type 'Microsoft.Xrm.Sdk.Metadata.StatusAttributeMetadata' to type 'Microsoft.Xrm.Sdk.Metadata.PicklistAttributeMetadata'

comments

srauda wrote Aug 26, 2016 at 10:24 PM

same error occurs if I reference the statecode field.

srauda wrote Sep 9, 2016 at 11:44 PM

installed the 8.1.0.1 version and I am still getting the error message.