Skip to main content
Declined

Task option: only one running task at a time

Related products:Software Factory

Please add a tickbox on a task to prevent a second task of the same task to run at the same time. I noticed that with the option to run tasks in the background this is becoming more of an issue. It would be great if there was a standard solution for this, instead of the need to program this in all business tasks. 

Did this topic help you find an answer to your question?

7 replies

Mark Jongeling
Administrator
Forum|alt.badge.img+23

Would this then be per user or across the whole application?


Forum|alt.badge.img+17
  • Author
  • Moderator
  • 768 replies
  • March 8, 2021

Across the application. I figure you would use this tickbox for processes that make large calculations or predictions where you want a max of 1 of these tasks to run. 


Robert Jan de Nie
Thinkwise blogger
Forum|alt.badge.img+5

@Erwin Ekkel I disagree. The application / code / procedure should be able to have multiple running instances. If this is causing problems, this should be resolved programatically. How would applications with multiple users work? You, as a user, need to guess if one of your 1,000 colleagues is running the same task?

I think if you have a situation like this, you should use some kind of queueing mechanism instead and have a single background thread (systemflow?) handle running the actual logic.


Forum|alt.badge.img+15
  • Superhero
  • 196 replies
  • March 16, 2021

I totally agree with @Robert Jan de Nie, this is potentially creating a mess. Having asynchronous tasks introduces complexity to the software you'd probably want to prevent. And is also very unclear to end users. Having problems with asynchronous tasks is in my opinion an exception and should not be standardized, so I would like to downvote this idea 😉.

In our current application we have some “long” running tasks which we eventually want to run asynchronous, but preferrably not.

I've explained it a bit over here (last post): 

I think it's better to look towards what's causing the issues with asynchronous tasks, is it maybe bad UX?


Forum|alt.badge.img+17
  • Author
  • Moderator
  • 768 replies
  • March 16, 2021

Topic closed, I retract the wish for now. 


Forum|alt.badge.img+17
  • Author
  • Moderator
  • 768 replies
  • March 16, 2021
Updated idea status OpenClosed

Forum|alt.badge.img+17
  • Author
  • Moderator
  • 768 replies
  • March 16, 2021
Updated idea status ClosedDeclined

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings