Forum Discussion
API data not refreshing in Service
- 2 years ago
That'll do it. This setting is ignored in the service, and the service will always try to run queries in parallel.
One way to prevent that is to use the Function.InvokeAfter trick.
Did you disable parallelism in the desktop?
Hadn't changed the parallelism settings.
The desktop file is using settings of:
Global
Current File
- lbendlin2 years agoSuper User
That'll do it. This setting is ignored in the service, and the service will always try to run queries in parallel.
One way to prevent that is to use the Function.InvokeAfter trick.
- Aron_Moore2 years agoSolution Specialist
Did some research on the Function.InvokeAfter and modified my code.
It fully refreshed in desktop. Also made some visual changes to ensure the changes pushed up to the Service.
Still failing in the service with same error.
Thoughts?
- lbendlin2 years agoSuper User
5 seconds is not really a delay. try something a bit higher.