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.
Hadn't changed the parallelism settings.
The desktop file is using settings of:
Global
Current File
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.
- Aron_Moore2 years agoSolution Specialist
I've increased to #duration(0,0,0,30). Refreshed fine in the desktop app, though took much longer.
Pushed the change to the service.... still failing. Same error.