getTaskFileAttachments Step

Last published at: June 22nd, 2021

Description:

Get file path for the attachments included to the task.

Inputs

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

Returns

  • true  – true condition
  • false – false condition

Usage:

Example:

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.