Skip to content

Process Archiving#756

Open
jjoderis wants to merge 11 commits into
mainfrom
process-archiving
Open

Process Archiving#756
jjoderis wants to merge 11 commits into
mainfrom
process-archiving

Conversation

@jjoderis

Copy link
Copy Markdown
Contributor

Summary

Processes are now archived instead of deleted. That means that processes that are "deleted" by a user are kept in the database but removed from the folder structure of the space. This way they can still be referenced if for example an execution of the process is inspected after the process has been removed.

Added logic to prevent removal/archiving of processes when there are active instances of the processes and to automatically remove deployments of the processes from the engines they are still deployed to.

Details

  • changed the db schema to allow the parent folder entry of processes to be set to "null" which indicates an archived process
  • changed the delete logic for processes in the backend to change the parent folder id of the process to null instead of deleting the process
  • added checks to the UI that handles deletion of processes and folders to prevent processes that have running instances or folders that contain processes with running instances from being deleted/archived
    • the checks run before the user commits to deleting the selected processes and folders and the result will then be displayed to the user

jjoderis added 6 commits June 10, 2026 11:02
…em in the frontend

We want to keep process execution data for future reference even when a
process is deleted to adhere to potential regulations. For that reason
we need to make sure to keep the process data as well since the
execution data can only be reasoned about using the executed process
data.
…nces; Added logic to automatically remove deployments of processes that are archived
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@jjoderis jjoderis marked this pull request as ready for review June 12, 2026 09:40
@github-actions

Copy link
Copy Markdown

CLOUDRUN ACTIONS

✅ Successfully created Preview Deployment.

https://pr-756---ms-server-staging-c4f6qdpj7q-ew.a.run.app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant