RIDDL Specification For improving.app
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

TenantHandler: Handler

ItemValue
BrieflyBrief description missing.
Definition PathImprovingApp.TenantContext.Tenant.TenantHandler
View Source Linktenant.riddl(14:17)

OnMessageClause command EstablishTenant

Statements

{
  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*