How can I auto-complete a user task in a workflow if its not manually approved in time?
0
Hi everyone, I'm working on a workflow in Mendix where a User Task is assigned to a specific user. However, I want the system to automatically complete (approve) the task if it is not approved before its due date, for example via a Scheduled Event or background logic. Here are the key points of my question: Can a Scheduled Event automatically complete a WorkflowUserTask after its due date? Can this task be completed by the system even if it was originally assigned to a specific user? Can I use the MxAdmin user to complete the task programmatically, or does it have to be a Named User with an associated Administration.Account? What is the recommended approach to programmatically complete a workflow user task (e.g., via Java action or API)? Any insights, best practices, or working examples would be greatly appreciated! Thanks in advance!