Question:
Why does it take some time for a task to be displayed in DocuWare, and how can this be optimized?
Answer:
The display time for tasks in DocuWare can be influenced by various factors, such as system load conditions. Understanding how tasks are displayed and how to optimize this process can significantly enhance user experience.
How tasks are displayed in DocuWare:
There are three kinds of events in the Web Client:
1. Index Field Changes: When any file cabinet index field of any document is changed, if the workflow is for this file cabinet and contains the index field as a column in the list, the page is refreshed if it is active or when it becomes active. This is throttled for 20 seconds.
2. Workflow Changes: Changes on an existing workflow or the creation of a new workflow. When a workflow event is received, the system checks:
- If the workflow is not present in the list, the task count is checked, and it is added if needed.
- If the workflow is present:
- If it is the active (selected) workflow, the system checks if the last update time (last call to the server) is older than the event time. If so, the page is refreshed.
- If the selected task is part of the tasks on this page, the selection remains unchanged.
- If it is not part of the list, the next item is then selected.
- If it is not the active workflow, only the count in the tab header is refreshed, and the list of tasks is refreshed the next time the workflow is active.
3. Workflow Settings Changes: This includes changes to the name of the workflow, columns, or credentials of the system user.
Throttling of Workflow Events:
- On-Premises Systems: If ThrottleWorkflowEvents in the web config is set to true.
- When workflows are not active, events are throttled to 20 seconds per workflow.
- When any workflow is active, events are throttled to 5 seconds per workflow.
- If the user confirms, reassigns, or stops any instance, the list is refreshed internally for this page.
