Dear Apache OFBiz Community, I hope you're doing well.
I am currently working on implementing *conditional task routing* within the OFBiz production module, where certain tasks should be executed only under specific conditions. For example: if a quantity check meets the expected threshold, the system should execute *Task A*; otherwise, it should proceed with *Task B*. This kind of branching logic is essential for handling real-world manufacturing scenarios dynamically. While I have successfully implemented *nested routing*, allowing a task to have sequential sub-tasks, the challenge lies in introducing *conditional behavior* based on runtime data. I believe that OFBiz features like: - *Manufacturing rules* - *Product variant definitions* - *Dependent Production run configurations* …could be key components in solving this problem. However, I’m currently struggling to determine how to best utilize these elements to define and execute such conditional logic within the routing process. If anyone has experience implementing conditional task execution, or could point me toward relevant documentation, examples, or best practices, I would greatly appreciate your help. Thank you for your time and for the continued support and innovation within this community. Best regards, Ilma masroor