workflow-es
workflow-es copied to clipboard
Workflow Engine stops after sometime due to workflow-es-mongodb (getRunnableEvents)
Sometimes we are receiving null data on getRunnableEvents due to some other reason. I have no idea why that is happening. Probably some check inside the function will help the engine running for other workflow execution requests.
The data variable becomes null sometimes. Refer: https://github.com/danielgerlag/workflow-es/blob/15f5e5702be8d4bd2830a9d55c97d0bf582492ae/providers/workflow-es-mongodb/src/mongodb-provider.ts#L162