synapse icon indicating copy to clipboard operation
synapse copied to clipboard

Add button to delete workflow definitions and all related data

Open cdavernas opened this issue 3 years ago • 3 comments

What would you like to be added:

Add button to delete workflow definitions and all related data.

Just as for workflow instance deletion, a dialog asking for confirmation and offering a download option would be outstanding IMHO.

Why is this needed:

Would allow getting rid of obsolete workflow definitions (might just be one or more versions of a given workflow definition).

cdavernas avatar Aug 19 '22 14:08 cdavernas

@cdavernas it sounds good to me, is the backend ready yet ?

I assume some resulting archives could be quite big though, is that a concern?

Also, in the UI, the WF are grouped as the latest version. Should all the definitions be deleted at once if no version is specified or just the latest ?

JBBianchi avatar Sep 05 '22 09:09 JBBianchi

@JBBianchi The API supports deletion, but does not yet provide a way to download the archive, which I opened #226 for.

I assume some resulting archives could be quite big though, is that a concern?

We could allow for users to configure the archiving with includeInstances, allVersions vs specificVersion, etc.

@JBBianchi wdyt?

cdavernas avatar Sep 05 '22 13:09 cdavernas

@JBBianchi #226 has been closed, the required endpoint is now available ;)

cdavernas avatar Sep 06 '22 15:09 cdavernas

Closed as stale

cdavernas avatar Jun 25 '24 07:06 cdavernas