Gets the tenant url

Use this step to get the tenant URL.

Last published at: July 3rd, 2023

clsGetTenantURL Step


Gets the tenant URL information.  



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



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






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 on 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 info. 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.