ui icon indicating copy to clipboard operation
ui copied to clipboard

Clarify "pending" activities of closed workflows

Open lorensr opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. User looks at a closed workflow and sees activities in pending state and wonders how to stop the activities.

Describe the solution you'd like Communicate that such activities (those that are open at time of workflow close) are cancelled. (Ie they will receive cancellation if they're heartbeating)

lorensr avatar Jul 26 '22 00:07 lorensr

This confused me at first. I ran into this when I forgot to block on an activity result so the workflow completed before the activity was able to start.

Why does Temporal still consider an activity as scheduled once the workflow completes? I'm presuming once the workflow completes Temporal will never actually attempt to run any of its pending activities.

On the UI side this could probably be solved with some visual indicators and changes to the wording once the workflow is completed.

nathan815 avatar Feb 15 '23 06:02 nathan815