Skip to content

Executing a process while it is already running throws an exception #380

Open

Description

@njoubert-cleverage

Follow-up of #371, for 6.0.

Executing a process while it is already running, by itself or through its sub-processes (A → B → A with process_executor), is deprecated since 5.6: the second execution resets the states and task instances of the running process (one configuration per process code). In 6.0, ProcessManager::execute() throws an exception instead of the deprecation, before any event is dispatched for the rejected execution (the UI bundle would otherwise end the execution of the running process).

Per-execution states, which would make a recursion work, are out of the scope of this ticket.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions