Activity scheduled but not started (need help)

Hey folks,
encountered similar issue when testing out few workflows myself. Sharing the details in my case to help debug further:

As you can see the later workflow succeeded while the earlier one is stuck.

History for the stuck workflow is as follows. The last activity that was marked started… executed successfully based on the workflow logs. However, I can see following error in the logs just around the time activity processing succeeded.
Task processing failed with errorError: context deadline exceeded

To give more context the activity is not doing any heavy compute operation but a simple DB update.

Let me know if we need any more data points.

Your activity has a 24-hour StartToClose timeout. So if its process fails during its execution (or it cannot report its completion to the service due to any reason) it will be retried only after 24 hours. What is the reason for using such a long timeout for a short activity?

See The 4 types of activity timeouts for more info.

2 Likes

No specific reason as such. It was an experimental run. So we used large values, to begin with. Not seeing the issue after setting the right values.

Thanks for sharing this. This was very helpful in making the understanding of timeouts better.