Hello Nico,
If I had to create this i would use a configurable entity with a boolean which i retrieve in the taskqueue and based on that boolean go through the normal flow(happy flow) or create an error (unhappy) flow.
But that is me, I will follow this thread to see and learn from the input from others.
Good luck!
Hi Nico,
I feel you! Personally, I solved this by creating a variable in which I divide 1 by 0. For the error handler, I use an error event. It's also possible to use the error event directly from, for example, a consumed REST service. As this is not always possible, it would be great to have an option to manually set a task to failed.
As I discussed this with many people over the last few months, it's finally time to put it on the Idea page. Feel free to spread the word and arrange some upvotes; I will do this as well.
https://community.mendix.com/link/space/studio-pro/ideas/4304
NOTE: It's on my to-do list to return a boolean value from the scheduled microflow. Not that I read something about this in the documentation, but I can imagine that this would be a clean way to trigger a retry as well. Possibly, the feature is already there.