GrailsFlow

Remove Process

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 1.6
  • Fix Version/s: 1.7
  • Component/s: None
  • Labels:
    None
  • Request Controller:
    Albers, Stephan
  • External Supervisor:
    Antonicheva, July
  • Executing Programmer:
    Please select
  • Ext Project Id:
    IBMQDM-01.35

Description

We have detected a problem with keeping in the DB a mention about processes/nodes which were removed/renamed (Process class was removed or steps of Process where changed). It can lead to unexpected problems and impossibility to finish processes properly. Currently, it's possible to kill process only (abort execution), but this process will be available in the basicProcess table.

We need

  • functionality for remove processes by ProcessType
  • clearing all History

Should be analyzed:

  • how to synchronize changes in the Processes (e.g. add/remove ProcessVaribales/Steps) and values in the BasicProcess/ProcessNode/ProcessVariables.

Activity

Hide
Antonicheva, July added a comment - 26/Jul/10 7:30 AM - edited

We are speaking only about removing finished processes. Among them the processes with the 'final' statuses: KILLED or/and COMPLETED.

We can prepare the following UI for the requested functionality:

1. Add new menu item 'Remove Process'
2. Add 'Remove process' page, where reuse search and search result forms from 'List Processes'

For example,

Remove Process
------------------------------
....

Process Type [.......X]
Status [.......X]
Activated from [.....] till [.....]
Completed from [.....] till [.....]
Killed from [.....] till [.....]
...

[Search] [Delete] [Delete All]

The 'Delete' button should delete all processes that were found according to
preselected values in form. 'Delete All' means that full processes history for finished processes should be
deleted.
In the search result list for each finished process we should have link 'Delete'.
The removing execution is done in separate threat, so the user can use [Search] button to see how many processes are still in DB.

Show
Antonicheva, July added a comment - 26/Jul/10 7:30 AM - edited We are speaking only about removing finished processes. Among them the processes with the 'final' statuses: KILLED or/and COMPLETED. We can prepare the following UI for the requested functionality: 1. Add new menu item 'Remove Process' 2. Add 'Remove process' page, where reuse search and search result forms from 'List Processes' For example, Remove Process ------------------------------ .... Process Type [.......X] Status [.......X] Activated from [.....] till [.....] Completed from [.....] till [.....] Killed from [.....] till [.....] ... [Search] [Delete] [Delete All] The 'Delete' button should delete all processes that were found according to preselected values in form. 'Delete All' means that full processes history for finished processes should be deleted. In the search result list for each finished process we should have link 'Delete'. The removing execution is done in separate threat, so the user can use [Search] button to see how many processes are still in DB.
Hide
Antonicheva, July added a comment - 12/May/15 2:21 PM

Please, check changes.

Show
Antonicheva, July added a comment - 12/May/15 2:21 PM Please, check changes.
Hide
Shwedovsky, Dmitry added a comment - 27/May/15 12:27 PM - edited

Found problems:
1. On the page 'List Processes' after clicking on the button 'Delete' for some process, the page 'Remove Processes' is opened and process is deleted, but user should stay on the same page - 'List Processes'.
2. Please, add confirmation window(like for button 'Kill') for buttons 'Delete' and 'Delete All' on the pages 'List Processes' and 'Remove Processes', to prevent accidental deletion.

Show
Shwedovsky, Dmitry added a comment - 27/May/15 12:27 PM - edited Found problems: 1. On the page 'List Processes' after clicking on the button 'Delete' for some process, the page 'Remove Processes' is opened and process is deleted, but user should stay on the same page - 'List Processes'. 2. Please, add confirmation window(like for button 'Kill') for buttons 'Delete' and 'Delete All' on the pages 'List Processes' and 'Remove Processes', to prevent accidental deletion.
Hide
Antonicheva, July added a comment - 28/May/15 3:42 PM

Please check changes.

Show
Antonicheva, July added a comment - 28/May/15 3:42 PM Please check changes.
Hide
Shwedovsky, Dmitry added a comment - 01/Jun/15 10:52 AM - edited

Tested.
New page 'Remove Processes' and buttons 'Delete' were added for possibility to delete processes.

Show
Shwedovsky, Dmitry added a comment - 01/Jun/15 10:52 AM - edited Tested. New page 'Remove Processes' and buttons 'Delete' were added for possibility to delete processes.
Hide
Antonicheva, July added a comment - 15/Jun/15 2:19 PM

There is a property maxLoadedProcesses in configuration. This property gives possibility to configure the max number of processes to be loaded from DB during process removing (the quantity for one iteration). By default, it is configured to 200 items (Integer value).

// default configuration for quantity of loaded processes in removing service
 maxLoadedProcesses(java.lang.Integer, "200")
Show
Antonicheva, July added a comment - 15/Jun/15 2:19 PM There is a property maxLoadedProcesses in configuration. This property gives possibility to configure the max number of processes to be loaded from DB during process removing (the quantity for one iteration). By default, it is configured to 200 items (Integer value).
// default configuration for quantity of loaded processes in removing service
 maxLoadedProcesses(java.lang.Integer, "200")

People

Vote (0)
Watch (0)

Dates

  • Created:
    18/Jul/10 4:05 PM
    Updated:
    15/Jun/15 2:19 PM
    Resolved:
    01/Jun/15 1:55 PM