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.
Definition Sample:
You may download 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.