Hi All,
I am getting the above-mentioned error while creating an agreement under Booking setup. Can anyone please advise me what is happening here?
Log File Details:
Exception Message: Workflow must be in Published state.
ErrorCode: -2147220891
HexErrorCode: 0x80040265
ErrorDetails:
ApiExceptionSourceKey: Plugin/Microsoft.Crm.ObjectModel.WorkflowService
ApiDepthKey: 3
ApiPluginSolutionNameKey: System
ApiStepSolutionNameKey: System
ApiExceptionCategory: ClientError
ApiExceptionMesageName: ExecuteUnpublishedWorkflow
ApiExceptionHttpStatusCode: 400
OperationStatus: 0
SubErrorCode: -2146233088
Plugin:
PluginTrace: [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]
[218f45c1-6b36-4746-8284-944843487145: Field Service: Update (post-operation) for msdyn_agreementbookingsetup]
[Microsoft.Crm.ObjectModel: Microsoft.Crm.Extensibility.InternalOperationPlugin]
[46f6cf4c-14ae-4f1e-98a1-eae99a37e95c: ExecuteWorkflowWithInputArguments]
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]
[218f45c1-6b36-4746-8284-944843487145: Field Service: Update (post-operation) for msdyn_agreementbookingsetup]
[Microsoft.Crm.ObjectModel: Microsoft.Crm.Extensibility.InternalOperationPlugin]
[46f6cf4c-14ae-4f1e-98a1-eae99a37e95c: ExecuteWorkflowWithInputArguments]