8000 Process definition detail view: risk to delete few processes at one action · Issue #3742 · jmix-framework/jmix · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ < 8000 div data-turbo-body class="logged-out env-production page-responsive" style="word-wrap: break-word;">
Skip to content
Process definition detail view: risk to delete few processes at one action #3742
Open
@stasmakarov

Description

@stasmakarov

Case description:

Suppose, there are few process XML files in the 'Processes' directory.

During application starting, all these processes will be deployed to server.

But Flowable engine uses two-step deployment procedure:

First, in creates a deployment object that contains ALL process models.

Second, it creates distinct process definitions, each of which is related to the same deployment object.

Flowable does't allow deleting of separate process definition. You can delete only whole deployment.

Now in the process definition detail view is available the button "Delete deployment" for deleting process definition.

So, if the user press it, ALL process definitions related to this deployment will be deleted without any notification.

It will be very unexpected for the user.

WORK AROUND:

If the deployment contains more than one process definition, ask the user to confirm the action.

Create a dialog window:

Confirmation Required

You are about to delete the following process definition:

  • [ProcessDefinition ID, Name]

In Deployment: [Deployment ID, Name]

This action will also delete all related process definitions associated with the same deployment:

  • [Process1Name] (ID: [Process1ID])

  • [Process2Name] (ID: [Process2ID])

  • [Process3Name] (ID: [Process3ID])

Please confirm that you want to proceed with this action. This operation cannot be undone.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0