Bertverbeek4PS / bc2adls

Exporting data from Dynamics 365 Business Central to Azure data lake storage or MS Fabric lakehouse
MIT License
49 stars 20 forks source link

Business Centreal job get deleted #155

Closed Jdcfo closed 2 months ago

Jdcfo commented 2 months ago

Have BC2Adls running on at businesscentral.com. And it runs fine in the jobqueue for 7 days, then the job get deleted. The Business Central support company says it's the extension that is the problem. Any ideas why, not a bc person

Bertverbeek4PS commented 2 months ago

Hi @Jdcfo, I have looked inside the code but there is nog deletion of the JobQueue entry. You can only create a Job queue task and not remove it.

What you can do is setup a change log on the job queue. So then you can track who has deleted the Job queue.

Jdcfo commented 2 months ago

Just says it get deleted by me. But have look and see an expiration date on th job. Set as null, guess there might be a delete after a week thing
Thank

WilcoHendriksen commented 2 months ago

An expire datetime is added during creation, this will remove it.

Jdcfo commented 2 months ago

That's also somewhat what I've guessed, especially since the job was deleted 7 days later.

So now it's set to expire in 1 year to test it.

Thanks