Description:
Test if tenant database is ready or not.
Inputs
- Tnconnection – Tenant manager connection string
- Tnnameid – Tenant/Host Name or ID
- Message – Variable/Global to hold the message
Returns
- True – step executed successfully
- False – step failed to execute
Usage:
![](https://s3.amazonaws.com/helpjuice-static/helpjuice_production%2Fuploads%2Fupload%2Fimage%2F8802%2Fdirect%2F1617008443346-1617008443346.png)
Example:
Let’s build and execute the TenantTestDef example.
- Create a new process definition called “TenantTestDef”
- Select the definition and click the “design” button
- Drag a "clsTenantTest" step to the canvas
- Connect the dots between the start and clstenanttest step
- Configure variable "tenantTest" as string
- Click on the "clsTenantTest" 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 hold the message after execution.
![](https://static.helpjuice.com/helpjuice_production/uploads/upload/image/8802/direct/1687858301456-image.png)
- Click on the "clsTenantTest" step to configure its "Logging" properties (optional). Provide the description, log message and documentation info. Click on "Save" to confirm the changes.
![](https://static.helpjuice.com/helpjuice_production/uploads/upload/image/8802/direct/1687858316555-image.png)
- Save the process definition, create a new process instance and execute. The step should display a message whether the tenant database is ready or not, as configured.