getTaskFileAttachments Step

Last published at: May 14th, 2024


Get file path for the attachments included to the task.


  • taskStepID – Select Task Step
  • resultForm – Result Type
  • taskFileAttachments – Variable / Global to hold the task file attachments path in XML / JSON 


  • true  – true condition
  • false – false condition



Let’s build and execute the getTaskFileAttachments example.

  • Create a new definition called “getTaskFileAttachmentsDef”
  • Select the definition and click the “design” button
  • Drag the above steps to the canvas
  • Connect the dots between the start and other steps as above
  • Click on the “getTaskFileAttachments” step to configure its properties
  • Configure the following values for the properties as shown on the below graphic
  • Save the workflow definition, create a workflow instance and execute. 
  • Check the step properties by rendering the workflow instance. getTaskFileAttachments step should provide the file path for the task attachments.