Personalized Community is here!
Quickly customize your community to find the content you seek.
Check out the latest Field Service updates!Learn about the key capabilities and features of Dynamics 365 Field Service and experience some of the new features.
Download overview guide | Watch Field Service video
2021 Release Wave 1Discover the latest updates and new features to Dynamics 365 planned April 2021 through September 2021.
Release overview guides and videos Release Plan | Preview 2021 Release Wave 1 Timeline
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
Hello Dynamics Community,
we are trying to set the status to Active in any agreement of Dynamics 365 field service, however when trying to save an error occurs with the message:
After checking, no relevant Workflow is inactive. No solution like deactivating and reactivating helped.
We want to find out on what point the error is generated.
Here is the full protocol:
Exception Message: Workflow must be in Published state.
ErrorCode: -2147220891HexErrorCode: 0x80040265
ErrorDetails: ApiExceptionSourceKey: Plugin/Microsoft.Crm.ObjectModel.WorkflowService ApiStepKey: 46f6cf4c-14ae-4f1e-98a1-eae99a37e95c ApiDepthKey: 3 ApiActivityIdKey: 00eb59c1-6d3a-4cc2-9f5e-a39b44534c95 ApiPluginSolutionNameKey: System ApiStepSolutionNameKey: System ApiExceptionCategory: ClientError ApiExceptionMesageName: ExecuteUnpublishedWorkflow ApiExceptionHttpStatusCode: 400 OperationStatus: 0 SubErrorCode: -2146233088
TraceText: [Microsoft.Dynamics.FieldService: Microsoft.Dynamics.FieldService.FieldServicePlugin] [f5f1291f-596a-4ee3-bce2-6b9217ec39cf: Field Service: Update (post-operation) for msdyn_agreement] [Microsoft.Dynamics.FieldService: Microsoft.Dynamics.FieldService.FieldServicePlugin] [58f86a7c-da6a-40d5-bdb9-634e2d82291a: Field Service: Update (post-operation) for msdyn_agreementinvoicesetup] [Microsoft.Crm.ObjectModel: Microsoft.Crm.Extensibility.InternalOperationPlugin] [46f6cf4c-14ae-4f1e-98a1-eae99a37e95c: ExecuteWorkflowWithInputArguments]
It does not save or generate a work order.
We already checked the following actions (German):
In the Field Service App please navigate to Settings>Field Service Settings. Have you set the 'Use enhanced background processing' to yes on the Field Service settings page? (under other). If this is the case then it's talking about Power Automate flows that might be turned off. I would suggested going into flows.microsoft.com and seeing if any of the related flows are turned off.PLEASE MARK THIS AS SUGGESTED ANSWER IF HELPFUL
Thank you so much, deactivating the 'Use enhanced background processing' and reactivating it worked!
Business Applications communities