Rating:
4
Joined: Sep 1, 2014
Company: Smart ID Dynamics
I have a problem with BackgroundJobs on mobile platform. I can`t start more than one BackgroundJob at a time, and other problem is that BackgroundJob start only when I install the mobile application, and after that I exit from application and enter again the BackgroundJob doesn`t start again...
Please help. Is very important for me to use BackggorundJobs in my mobile application.
but i get no error, instead the code behind this common module method (DataExchangeManagerServer.GetUpdatesFromServerInBackground) doesn`t execute at all and the job remain active always and I can`t start a new job. Even when I exit from the application and enter again, same issue, code behind the job does not execute and the job remain active.
Which version of 1C:Enterprise mobile platform do you use? Which mobile device and which OS version do you use? Does the DataExchangeManagerServer.GetUpdatesFromServerInBackground function finish execution? Can you make a simple test configuration where I could reproduce this issue?
Rating:
4
Joined: Sep 1, 2014
Company: Smart ID Dynamics
Mobile platform version 8.3.7.59 - I use Mobile Application Builder to generate application .apk. Mobile device: Honeywell Dolphin 75e Black with Android 4.4.4, LG G3 D855 with Android 5.0
Rating:
4
Joined: Sep 1, 2014
Company: Smart ID Dynamics
I tried this method too but doesn`t working. Sometimes BackgroundJob started after 12 minutes, other time started after 2 hours and i commented the code you suggested. And job stay active for long time even is just a line of code with a log.
The Job is created because I can find by his UUID but the code inside the Job Function doesn`t executes at all. As I say, sometimes the code behind the Job function executes after a long period of time from the starting time of the Job.