Hi. I’m new to Flowable and writing a JavaDelegate that will create a file (Excel using Apache POI) and attach it to the current Task. Assuming I need to use TaskService#createAttachment, how do I get a handle to TaskService from DelegateExecution ?
I see that as my task is executing (running in a FlowableRule test), the ACT_RU_TASK table is not populated. How can I add an attachment if the task is not found in that table?