Hi, I am trying to createAttachament to a process, inside a JavaServiceTask. My class implements JavaDelegate. I need to pass DB taskid to the method createAttachment, but I dont know where to get this value from:
taskService.createAttachment("application/pdf",
TASKID, execution.getProcessInstanceId(), "Carta de Admisión",
"Carta que admite al postulante como Estudiante Regular Internacinal", pdfStream);
DelegateExecution has a method getCurrentActivitiId() but that's not DB id .
Do you have any ideas??
Thank you very much!!!
Celeste.-