{
error "Name is not available for use"
} else {
if "primaryContact info is not complete" then
{
error "primaryContact must be complete in order to establish a Tenant"
} else {
send event TenantEstablished to outlet TenantEventsSource.Events
morph entity Tenant to state EstablishedTenant with record EstablishedTenantState
}
}
```\n
## *Used By None*
## *Uses Nothing*