Workflows update frequency

Hi! According to this post by Nils, the update frequency of workflows is default set to 5 minutes, and an appsetting can be added to decrease the interval.

We have tried adding the lines indicated to web.config on a test server but can see no difference in behaviour. Any hints on what we might have missed?

Litium version: 7.6

You shouldn’t need to add anything else.

In what way are you not seeing any change in behavior?
Can you see any difference in the logging output? (Need to check file on disk)

With 30 as value:

2021-09-02 10:23:38.9996 [App:03] [b818695d-dd0e-4f7d-ab90-2faa100169ba] [TRACE] [] Litium.Application.Products.Engine.ProductWorkflowEngine - Synchronizing product workflows 
2021-09-02 10:23:38.9996 [App:03] [4800e13f-0d25-48a7-8d40-7c6fa2a1b2b6] [TRACE] [] Litium.Application.Products.Engine.DynamicProductListEngine2 - Synchronizing product lists 
...
2021-09-02 10:24:09.0163 [App:03] [26b471d8-640c-4480-bbab-bfa0c87daeae] [TRACE] [] Litium.Application.Products.Engine.DynamicProductListEngine2 - Synchronizing product lists 
2021-09-02 10:24:09.2627 [App:03] [19f3dd07-e185-4fc7-a62d-41dc8df4262f] [TRACE] [] Litium.Application.Products.Engine.ProductWorkflowEngine - Synchronizing product workflows 
... 
2021-09-02 10:24:39.0407 [App:03] [3b429e87-4279-4b94-a3b7-3c6600df55d1] [TRACE] [] Litium.Application.Products.Engine.DynamicProductListEngine2 - Synchronizing product lists 
2021-09-02 10:24:39.2775 [App:03] [45490406-b8fe-4a51-84fd-32b3a6174656] [TRACE] [] Litium.Application.Products.Engine.ProductWorkflowEngine - Synchronizing product workflows 

With 5 as value:

2021-09-02 10:27:53.1855 [App:04] [a261a787-7f1f-4043-8e6e-9d22edb07f54] [TRACE] [] Litium.Application.Products.Engine.DynamicProductListEngine2 - Synchronizing product lists 
2021-09-02 10:27:53.1855 [App:04] [16de2ea0-2ee3-4c9c-b0bd-cbcafe0ca1eb] [TRACE] [] Litium.Application.Products.Engine.ProductWorkflowEngine - Synchronizing product workflows 
...
2021-09-02 10:27:58.2064 [App:04] [16de2ea0-2ee3-4c9c-b0bd-cbcafe0ca1eb] [TRACE] [] Litium.Application.Products.Engine.ProductWorkflowEngine - Synchronizing product workflows 
2021-09-02 10:27:58.2064 [App:04] [418ca675-e995-4bbd-909a-6b0a4e014be3] [TRACE] [] Litium.Application.Products.Engine.DynamicProductListEngine2 - Synchronizing product lists 
...
2021-09-02 10:28:03.2150 [App:04] [c5e3cdba-2469-4d02-aed2-89307bd7139a] [TRACE] [] Litium.Application.Products.Engine.ProductWorkflowEngine - Synchronizing product workflows 
2021-09-02 10:28:03.2150 [App:04] [c932f45a-c873-4caa-bc34-8032e257064f] [TRACE] [] Litium.Application.Products.Engine.DynamicProductListEngine2 - Synchronizing product lists 

Difference seems to be in seconds not minutes.

Yes, the value is in seconds. Default is 300, so 5 minutes.

We tried the value 1, and the workflows did not update once per second.

We will check the logs.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.