Get Virtual URL for a file

Use this step to fetch virtual file URL path.

Last published at: February 24th, 2025

getFileURL Step

Description:

This step gets the virtual file URL path information. 

 

Inputs

  • txtVarGlobalFilePath - Input File Path
  • virtualPathVarGlobal -Variable / Global that holds the virtual path
 

 

Returns

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

 

Usage:

 

 

Example:

Let’s build and execute the "getFileURLDef" example.

  • Create a new definition called "getFileURLDef." 
  • Select the definition and click the “design” button
  • Drag the “GetFileURL” step to the canvas
  • Connect the dots between the Start and “GetFileURL” step
  • Click the “clsGetFileURL” step to configure its “Required” properties. Provide the file path on the FlowWright server to any file. Provide the variable/global to hold the virtual file path. 

 

  • 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 instance, and execute. Render the process instance. Click the process step to view its properties. The step should get the virtual file URL path.  

 

 

Definition Sample:

You may download the ZIP file and extract the sample definition(s) from the link here and later import it (drag-drop) to your FlowWright Process Definition (XML file) or Form Definition (HTML file) page.

NOTE: Please verify and complete the process steps for any missing configurations, such as file path references and database connections after import. Then, save the definition to confirm the changes.

Click here to download the sample file.

 

How can we improve this article?

Share additional info and suggestions