Hi,
While trying to import a solution to one of our Dev tenant, we encountered following error. Error was due to one of our custom rollup field.
The state transition requested is not valid for the current state. Current state: 3, current status: 32, target state: 3.
Quick look shows the tenant where I am importing this solution have bunch of Mass Calculated Rollup Fields Jobs (all related to different custom tollup fields) in statecode = 3 and statuscode = 32.
Considering I can't change status of this job from Cancel to anything else (apart from delete which shouldn't work as these are system required jobs), what can I do to resume these jobs? How can I import solution with existing job in cancelled state?
If I try any of the option from UI (Resume, Postpone or Pause) I am getting error (below is when I tried to Resume it.
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #C227C07DDetail: <OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts"> <ErrorCode>-2147220970</ErrorCode> <ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" /> <Message>System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #C227C07D</Message> <Timestamp>2019-01-10T13:49:47.4199015Z</Timestamp> <InnerFault> <ErrorCode>-2147204762</ErrorCode> <ErrorDetails xmlns:d3p1="schemas.datacontract.org/.../System.Collections.Generic" /> <Message>The state transition requested is not valid for the current state. Current state: 3, current status: 32, target state: 0.</Message> <Timestamp>2019-01-10T13:49:47.4199015Z</Timestamp> <InnerFault i:nil="true" /> <TraceText i:nil="true" /> </InnerFault> <TraceText i:nil="true" /> </OrganizationServiceFault>
Are Mass Calculate Rollup Field Jobs supposed to be in Cancel state?
*This post is locked for comments