Description:
Removes the selected tenant and delete its FlowWright database.
Inputs
- Tnconnection – Tenant manager connection string
- Tnnameid – Tenant/Host Name or ID
Returns
- True – step executed successfully
- False – step failed to execute
Usage:
![](https://s3.amazonaws.com/helpjuice-static/helpjuice_production%2Fuploads%2Fupload%2Fimage%2F8802%2Fdirect%2F1617000158114-1617000158114.png)
Example:
Let’s build and execute the RemoveTenantDef example.
- Create a new definition called “RemoveTenantDef”
- Select the definition and click the “design” button
- Drag a "clsRemoveTenant" step to the canvas
- Connect the dots between the start and "clsRemoveTenant" step
- Click on the "clsRemoveTenant" step to configure its “Settings” properties. Provide a name to the step. Select the connection string. Provide the Tenant Name or GUID value.
![](https://static.helpjuice.com/helpjuice_production/uploads/upload/image/8802/direct/1687856011705-image.png)
- Click on the "clsRemoveTenant" 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/1687856025526-image.png)
- Save the process definition, create a process instance and execute. The process step should remove the selected tenant and its FlowWright database, as configured.