Hello Good Day. After recent organization-wide implementation of the new Unified Client Service Level Agreement (SLA's), several users from across different business team units have reported this error which is prompted when one of the applicable when or success on fields in the SLA configuration. The central message involves an SLA Item related modern workflow not triggering or the workflow failing to execute. The modern flow is turned on and active and works for other records. Based on limited testing, It's only when the applicable or success on fields are automatically or manually on a record, then this error is prompted. In most cases, the SLA and the SLA Items work fine without issue. Again, these error issues are only prompted during some sort of user interaction with the record on which the SLA is active.
Attached is a screen shot of what the error looks like. The error message specifies an SLA Item for which the associated modern workflow is failing to execute.
Exception occured in SLAInstance management custom action : System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: ServiceLevelAgreement::SLAInstanceService::Runtime:InvokeActionFlowOnInstanceStatusUpdate: Action failed for workflow with Id 1507e000-736f-ed11-9562-000d3a312d65 of SlaItemId d60980d9-586f-ed11-9562-000d3a312d65 Exception : System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: Modern Flow '1507e000-736f-ed11-9562-000d3a312d65' is not valid for ExecuteWorkflow. Please select a Flow that triggers whenever a Common Data Service entity is created, updated, or deleted. (Fault Detail is equal to Exception details: ErrorCode: 0x80060476 Message: Modern Flow '1507e000-736f-ed11-9562-000d3a312d65' is not valid for ExecuteWorkflow. Please select a Flow that triggers whenever a Common Data Service entity is created, updated, or deleted. TimeStamp: 2023-04-26T13:30:12.8580493Z -- Exception details: ErrorCode: 0x80060476 Message: Modern Flow '1507e000-736f-ed11-9562-000d3a312d65' is not valid for ExecuteWorkflow. Please select a Flow that triggers whenever a Common Data Service ...