Project

General

Profile

Actions

Feature #2306

open

LRT: refactor stateful task to use entity state

Added by Radek Tomiška over 4 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
Radek Tomiška
Category:
Long running task
Target version:
-
Start date:
06/08/2020
Due date:
% Done:

0%

Estimated time:
24.00 h
Owner:

Description

Schedulable stateful task are based on the queue with previously processed items. All records are found from database in the first step and already processed items (in queue) are skiped afterwards => this mechanism has performance issue - all records are loaded from database and iterated.

Refactor this mechanism with entity state usage - add state to items, which should be processed and load just items to process. Start with HR process - HrEnableContractProcess.

Actions

Also available in: Atom PDF