Hi,

This is a good idea.
I think you can check this two point.
1.Check what the difference will be displayed in the UI to user when you the 
change from `starttime` to `submittime`.
2.Is there any else logic use these three function in api, server, alert module?


You can reply to this mail when you come to conclusion.


Thx a lot~


Best,
Yichao Yang




------------------ ???????? ------------------
??????:                                                                         
                                               "dev"                            
                                                        <[email protected]&gt;;
????????:&nbsp;2020??8??16??(??????) ????10:31
??????:&nbsp;"dev"<[email protected]&gt;;

????:&nbsp;[DISCUSS][SUMMER-2020]  Modify the search rules of task instances



Because of the addition of new features, the task will not have a start time 
before it starts executing. In the original design, the search rule for task 
instances mainly used the start time. For example, the following methods in 
TaskInstanceMapper:




1. findValidTaskListByProcessId

2. queryTaskInstanceListPaging

3. countTaskInstanceStateByUser




For the first two methods, the user experience is not obvious when there are 
fewer task instances. But when there are many instances, the task instances 
without start time are always on the last page.




As for the last method, because it uses whether the start time is a standard 
within a certain period of time, task instances without a start time will never 
be counted. At this time, the user will find that the number of tasks in the 
delayed execution state is always zero.




For the above two reasons, I want to change the above three methods from using 
the start time to using the submit time. My question about this is, does such a 
change have much impact on the system?




### ??????????????????????


??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????TaskInstanceMapper??????????????????


1. findValidTaskListByProcessId
2. queryTaskInstanceListPaging
3. countTaskInstanceStateByUser


????????????????????????????????????????????????????????????????????????????????????????????????????????????????


??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????0??


????????????????????????????????????????????????????????????????????????????????????????????????????????????????

Reply via email to