JournalsEventHandler - Process Cube stucked
Hi team!
I'm utilizing the "process cube" function within a JournalsEventHandler. However, whenever the event occurs after the journal is unposted, the process cube fails to execute; it gets stuck and never completes. if the event occurs after the journal is posted, it functions correctly.
Not sure what is causing it. here is the piece of code:
Else If (args.IsBeforeEvent = False) And _
(args.OperationName.Equals(BREventOperationType.Journals.PostJournal) Or _
args.OperationName.Equals(BREventOperationType.Journals.UnpostJournal))
BRApi.DataQuality.Process.ExecuteProcessCube(si, _
BRApi.Workflow.General.GetWorkflowUnitClusterPk(si, _
EntityWFName, WFScenario, WFTime), _
StepClassificationTypes.ProcessCube, _
False)
End IfThanks.
