DurableFunctionsMonitor icon indicating copy to clipboard operation
DurableFunctionsMonitor copied to clipboard

Feature request: Action buttons should be disabled if runtimeStatus doesn't allow that action

Open mronnblom-ith opened this issue 1 year ago • 1 comments

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.

image

image

Alternatively, fix the error messages to be more intuitive. In above example, maybe: "Failed to suspend. Not allowed for status 'Failed'."

mronnblom-ith avatar May 23 '24 11:05 mronnblom-ith

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.

mronnblom-ith avatar May 23 '24 11:05 mronnblom-ith