Developer forum

Forum » Integration » Running Import Activities on demand while having scheduled activities

Running Import Activities on demand while having scheduled activities

Dynamicweb Employee
Jeremy Fesmire
Reply

Hello,

I am working on a solution integrated with BC cloud erp. The user wants to have scheduled batch activites importing data from BC via odata and also wants to have some integration activities using the excel destination provider for outputting data for them to reveiw that are run manually on demand. The issue we are running into is that the odata jobs seem to queue up each time their associated scheduled task is triggered regardless if another run of the same task is in the queue. Over the course of the day this queue seems become quite long. When the user goes to try and manually run their export activity it ends up just waiting to run, sometimes for hours as the other activities run mulitple times before the one manually triggered. I have recommended scheduling the exports which does keep them in the queue and running a few times a day, but its something they want to be able to generate relatively on demand. Looking for any suggestions or solutions. 

Thanks,

Jeremy Fesmire


Replies

 
Rasmus Sanggaard Dynamicweb Employee
Rasmus Sanggaard
Reply

Hi Jeremy,

We have discussed this previously, but we haven't yet come up with a good solution. We're trying to avoid async jobs and cancelling running jobs. What we're considering is introducing an option to choose where a task should be placed in the queue, such as Run next and Add to queue. Currently, the Run action just adds the task to the existing queue.

What are your thoughts on this solution?

 

BR Rasmus Sanggaard

 
Dynamicweb Employee
Jeremy Fesmire
Reply

Hi Rasmus,

That sounds like a good solution to me. I agree that we don't want to be canceling job runs, but being able to manually insert as 'next in queue' would achieve the desired functionality. On previous reports this has only been an internal gripe for troubleshooting, now we have a customer that is struggling with this. What would be the timeframe on this type of functionality and would it apply to DW9 as well as DW10?

Thanks,

Jeremy Fesmire

 
Rasmus Sanggaard Dynamicweb Employee
Rasmus Sanggaard
Reply

Hi Jeremy,

 

It would be a DW10 only functionality and it would be part of a bigger epic, so I do not have a timeframe yet.

 

BR Rasmus Sanggaard 

 

You must be logged in to post in the forum