Forum Discussion

CLU's avatar
CLU
New Contributor II
26 days ago

Cannot Execute the Process Cube (Calculation)

Was able to "Process Cube" for October and November... in attempting to close a form for December (1Q) - now receiving this error message. The Entity Assignments and Calculation Definitions on the Workflow Profile are the same as they've ever been. Can somebody share other possibilities based on what this code is telling me?

 

Cannot execute the Process Cube (Calculation) workflow task because the current workflow profile [Investment_Sub] has not been assigned a calculation definition.

User Interface Stack Trace:
   at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(MethodCall methodCall, ProxyOperationRuntime operation)
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(MethodInfo targetMethod, Object[] args)
   at generatedProxy_4.StartProcessCube(SessionInfo, WorkflowUnitPk, StepClassificationTypes, Boolean)
   at OneStream.Client.Api.Wcf.DataQualityProcessingServiceReference.DataQualityProcessingServiceClient.StartProcessCube(SessionInfo si, WorkflowUnitPk workflowUnitPk, StepClassificationTypes stepClassification, Boolean updatePreceedingWorkflowUnits)
   at OneStream.Client.Api.Wcf.DataQualityProcessingServiceReference.DataQualityProcessingServiceClient.<>c__DisplayClass227_0.<BeginStartProcessCube>b__0()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)

  • FredLucas's avatar
    FredLucas
    Contributor III

    That's strange, have you also checked that the Scenario Type Filter configured on the Calculation Definitions is valid for the scenario you are trying to process?

    I'm assuming it is as you are probably referring to the same scenario you've processed for Oct and Nov but just in case there's been any scenario config changes in the meantime...

    Also, if you are using the No Calculate Calc Type to launch some custom logic I'd double check if it is triggering the custom code and if it is the error could be coming from the actual code.

    • CLU's avatar
      CLU
      New Contributor II

      Thank you FredLucas - it was the Entity setting in the Calc Definition; did not align. Verified several times across multiple applications - and somehow it was changed. Reverted back and all is well again. 

      Thank you for the response!