
Hi All
My ARC rules are actually working - and the case is being auto-created and sent to the correct CRM queue - which is great! However, every one is creating Run Failures related to the last stage of the Flow. Here is the full error mesage:
Error identified in Payload provided by the user for Entity :'', For more information on this error please follow this help link go.microsoft.com/.../ ----> InnerException : System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Crm.Extensibility.ODataV4.ODataParameterReaderExtensions.TryReadFlowPrimitiveData(ODataParameterReader oDataParameterReader, ODataDeserializerContext readContext, CrmEdmEntityObject& result)
at Microsoft.Crm.Extensibility.ODataV4.ODataParameterReaderExtensions.TryReadFlowPrimitive(ODataParameterReader oDataParameterReader, ODataDeserializerContext readContext, CrmEdmEntityObject& result)
at Microsoft.Crm.Extensibility.ODataV4.CrmODataActionPayloadDeserializer.Read(ODataMessageReader messageReader, Type type, ODataDeserializerContext readContext)
at System.Web.OData.Formatter.ODataMediaTypeFormatter.ReadFromStream(Type type, Stream readStream, HttpContent content, IFormatterLogger formatterLogger).
This is in the Raw Outputs section of the flow error:
Hi MikeExeter,
Based on the error, You are trying to get Value from an object that is null.
In your expression, it seems that format of two parts are different:
if(equals(outputs('Create a record (don''t rename this step)')?['body/incidentid@Microsoft.Dynamics.CRM.lookuplogicalname'],'incident'),concat('incidents(',outputs('Create a record (don''t rename this step)')?['body/incidentid'], ')'),string(''))
Could you provide screenshots about the flow step?