Skip to content

Engine: Deployment Activation/Deactivation#727

Merged
Zayn-Javed merged 9 commits intomainfrom
engine/branch-activation
Mar 28, 2026
Merged

Engine: Deployment Activation/Deactivation#727
Zayn-Javed merged 9 commits intomainfrom
engine/branch-activation

Conversation

@jjoderis
Copy link
Copy Markdown
Contributor

Summary

Added functionality to the engine that allows activation and deactivation of processes which can be used to allow/disallow typed start events to automatically trigger new instances

Details

  • added new rest endpoint that can be used to activate/deactivate specific versions of processes
    • if a version is activated all other versions of the process are deactivated
  • Fixed: if a process with an active deployment is removed from an engine the active deployment keeps spawning new instances since it is not removed from the execution environment
  • Changed the deployment behavior of the MS
    • when a version of a process is deployed it gets activated automatically
    • when the MS finds that a version is already deployed it will not deploy it another time
    • when the MS finds other engines that already have deployments of another version of the process they are preferred for the deployment of the new version
    • the MS tries to deactivate all deployments of the process on engines that the new version is not deployed to

…f the process deployed that has a timer start event the event keeps triggering new instances even after the process is deleted
…l not deploy again if the same process version is already deployed or prefer engines that already have another version of the same process
@github-actions

This comment has been minimized.

Copy link
Copy Markdown
Contributor

@Zayn-Javed Zayn-Javed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please have a look at these few very minor things.

@jjoderis jjoderis requested a review from Zayn-Javed March 27, 2026 17:35
@github-actions

This comment has been minimized.

@github-actions
Copy link
Copy Markdown

CLOUDRUN ACTIONS

✅ Successfully created Preview Deployment.

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

@Zayn-Javed Zayn-Javed merged commit 25fd372 into main Mar 28, 2026
17 checks passed
@Zayn-Javed Zayn-Javed deleted the engine/branch-activation branch March 28, 2026 15:44
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.

2 participants