I need to set a dueDate for the UserTask of the process model. I want to set this time to 24 hours after the task is successfully created. How should I configure it?
Does the process engine provide a method to retrieve the creation time of a UserTask?
Great question about configuring UserTask due dates! I can help you with both parts of your question.
Setting Due Date to 24 Hours After Task Creation
You can configure a UserTask’s due date to be 24 hours after its creation using the zeebe:taskSchedule extension element in your BPMN model. Here’s how:
This approach ensures your due date is always calculated relative to the actual creation time of the user task. Let me know if you need any clarification!