Gets the tenant url

Use this step to get the tenant URL.

Last published at: July 3rd, 2023

clsGetTenantURL Step

Description:

Gets the tenant URL information.  

 

Inputs

  • TnConnection – Tenant manager connection string
  • TnName – Tenant/Host Name 
  • TnURL – Variable or Global to hold tenant URL
 

 

Returns

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

 

Usage:

 

 

Example:

Let’s build and execute the “GetTenantURLDef” example.     

  • Create a new definition called “GetTenantURLDef”
  • Select the definition and click the “design” button
  • Drag a "clsGetTenantURL" step to the canvas
  • Connect the dots between the start and "clsGetTenantURL" step
  • Click the "clsGetTenantURL" step to configure its "Settings" properties. Provide a name to the step. Select the connection string. Provide the Tenant Name or GUID value. Provide a variable/global to store the tenant URL. 

 

  • Click on the "clsGetTenantURL" step to configure its "Logging" properties (optional). Provide the description, log message, and documentation. Click on "Save" to confirm the changes.

 

  • Save the process definition, create a new process instance, and execute. The process step should update the variable/global with the tenant URL as configured.

 

Definition Sample:

You may download the sample definition from the link here and later import it (drag-drop) to your FlowWright Process (XML) and Form Definition (HTML) page. After import, you must verify the process steps and complete the database configuration, if any. 

 

https://github.com/FlowWrightCode/FW10Steps/blob/main/GetTenantURLDef.xml