AnsweredAssumed Answered

Working with attachment fields in Script task

Question asked by gbanks on Jul 26, 2017
Latest reply on Jul 31, 2017 by gbanks

I am attempting to work with files that have been attached in a form. How would I go about retrieving information within a JavaScript Script task? When I do a /activiti-app/api/enterprise/process-instances/${process_instance_id} call, I see that my variable for the attachment field = null, even when I have attached a document there. 


I'm aware there is a relatedContentService, which requires some dependencies. Is there any way to check information (ANY information) on an attachment without leaving the BPMN editor?


Thank you