clsGenerateTenantName Step

Use this step to generate the tenant name.

Last published at: June 27th, 2023

Description:

Generate the tenant name.

Inputs

  • Tnconnection – Tenant manager connection string
  • Tnname – Tenant name
  • TnNameVarGlobal -- Variable/Global to hold the Tenant Name
 

 

Returns

  • False - False condition
  • True - True condition
 

 

Usage:

Example:

Let’s build and execute the clsGenerateHostNameDef example.  

  • Create a new definition called “clsGenerateTenantNameDef”
  • Select the definition and click the “design” button
  • Drag a “clsGenerateTenantName” step to the canvas
  • Connect the dots between the start and “clsGenerateTenantName” step
  • Configure variable "tenantName" as string 
  • Click on the "clsGenerateTenantName" step to configure its "Settings" properties. Provide a name to the step. Select the connection string. Provide a variable/global to store the generated host name.  
  • Click on the "clsGenerateTenantName" step to configure its "Advanced" properties. Provide a custom tenant name (optional). 
  • Click on the "clsGenerateTenantName" 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 provide the tenant name as configured.