Get item propreties

Last published at: April 26th, 2021

Description:

Get Item (Task, User, Process, Form) properties

Inputs

  • itemID- Enter item id
  • itemType- Select item type
  • propsToGet- Properties to get

Returns

  • True – step executed successfully 
  • False – step failed to execute

Usage:

Example:

Let’s build and execute the clsGetPropertiesDef example.

  • Create a new definition called “clsGetPropertiesDef
  • Select the definition and click the “design” button
  • Drag the above controls to the canvas
  • Connect the dots between the controls as above
  • Click on the “getWorkflowUserId” step to configure its properties
  • Configure the following values for the properties as shown on the below graphic
  • Click on the “clsSetProperties” step to configure its properties
  • Configure the following values for the properties as shown on the below graphic
  • Click on the “clsGetProperties” step to configure its properties
  • Configure the following values for the properties as shown on the below graphic
  • Save the process definition, create a new process instance and execute. Check the step properties by rendering the process instance. The process step clsGetProperties should get Item (Task, User, Process, Form) properties as configured.