moveProcessDefinitionToFolder Step

Use this step to move a process definition to a folder.

Last published at: July 15th, 2024

Description:

You can use this step to move a process definition to a folder.

 

Inputs

  • DefinitionID – Process Definition GUID value
  • selectFolder – select folder to save the definition
 

 

Returns

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

 

Usage:

 

 

Example:

Let’s build and execute the moveProcessDefinitionToFolderDef example.          

  • Create a new definition called “moveProcessDefinitionToFolder
  • Select the definition and click the “design” button
  • Drag a “moveProcessDefinitionToFolder” step from the toolbox
  • Connect the dots between the start and “moveProcessDefinitionToFolder” step
  • Click the "moveProcessDefinitionToFolder" step to configure its "Settings" properties. Provide a name to the step. 

 

  • Click the "moveProcessDefinitionToFolder" step to configure its "Advanced" properties. Provide the Process Definition GUID value. Click the button to select the target folder on the application server.  

 

  • The “Logging” setting configuration is necessary for documentation and also measures the workflow progress and the percent complete. This is achieved by configuring the step state and percent fields individually, as shown in the images below. Configure the “Logging” using the following properties.

 

  • Save the process definition, create a new process instance, and execute. Render the process instance. Click on the process step to view its properties. The step should move the process definition to the target folder on the application server.