At some point between 2024-04-01 07:05 BST & 2024-04-02 07:05 BST workflowContext.lastSuccessfulRun.startedAtEpochMs started returning 0 rather than the correct value when the workflow is triggered by another workflow or manually.
Running a block in the code that accesses this manually from the IDE returns the correct expected value.
I do have 2 webhoook returns - 1 for error & 1 for success, but this is really an async flow so I don't need these - will remove
Appears to work from the UI now, will assume OK and revert back tomorrow if not ok from a trigger.
Bit of feedback though:
That restriction is not mentioned (at least clearly enough) in the documentation. I know that documentation is the worst part of development work but it is SOO important in a tool such as this.
It did work (even unofficially) until it was broken at the start of April.
The behaviour of a Workflow & its blocks should be the same when running through in the IDE/UI vs when it runs as triggered - otherwise we can have no faith in the IDE experience