clsDynamicTaskBuilder step

Last published at: May 2nd, 2023

Description:

Dynamically builds tasks based on XML

Inputs

  • taskXML – Task XML

Returns

  • true  – true condition
  • false – false condition

Usage:

Example:

Let’s build and execute the clsDynamicTaskBuilderDef example.

  • Create a new definition called “clsDynamicTaskBuilderDef”
  • 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 “updateGlobals” step to configure its properties
  • Configure the following values for the properties as shown on the below graphic
  • Click on the “dynamicTasks” 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 by rendering the workflow instance. clsDynamicTaskBuilder step should create tasks dynamically based on the XML data like as shown on the below graphic.