DurableFunctionsMonitor
DurableFunctionsMonitor copied to clipboard
Feature request: Action buttons should be disabled if runtimeStatus doesn't allow that action
Version: DurableFunctionsMonitor.DotNetIsolated, 6.5.0-beta2
These buttons in the UI are clickable regardless of runtimeStatus for the orchestration instance. If you then click them, an (non-intuitive) Exception is thrown.
Alternatively, fix the error messages to be more intuitive. In above example, maybe: "Failed to suspend. Not allowed for status 'Failed'."
I see now that in the log, this message is displayed: Cannot suspend orchestration instance in the Failed state
So it may just be an issue of extracting the Exception message correctly.