cadence-web icon indicating copy to clipboard operation
cadence-web copied to clipboard

Expose an URL with only the workflow-id which redirects to the currently running workflow

Open vancexu opened this issue 6 years ago • 2 comments

Cadence UI currently exposes URL of the following form to inspect the status of a running workflow:

https://localhost:8080/domain/cadence-canary/workflows/cron.workflow.sanity/d1e5c195-d8a7-488b-bd5b-d238f97459d2/summary

Would be very nice if the UI could also expose an URL with only the workflow-id which redirects to the currenlty running RunID of that workflow

https://localhost:8080/domain/cadence-canary/workflows/cron.workflow.sanity

vancexu avatar Dec 03 '18 18:12 vancexu

Any plans regarding this?

Currently have to pass around RunID all over the place just to be able to link to Cadence UI.

skbogner avatar Jan 28 '19 13:01 skbogner

It looks like this will require some work on the server since only GetHistory currently supports not supplying a runid. We could expose a way to get the current runid in the API and have Cadence Web get the runid and redirect. We'll have some resources coming available in March, but I'll see if we can get to it earlier.

dmetzgar avatar Jan 31 '19 00:01 dmetzgar