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

SuspendedOrganizationHandler: Handler

ItemValue
BrieflyBrief description missing.
Definition PathImprovingApp.OrganizationContext.Organization.EstablishedOrganization.SuspendedOrganizationHandler
View Source Linkorganization.riddl(397:21)

OnMessageClause command ImprovingApp.OrganizationContext.EstablishOrganization

Statements

\nerror "Organization already established"\n

OnMessageClause command ActivateOrganization

Statements

\nset field EstablishedOrganizationState.orgMeta to "OrganizationContext.MetaInfo"send event OrganizationActivated to outlet OrganizationEventsSource.Sourcebecome entity ImprovingApp.OrganizationContext.Organization to handler ActiveOrganizationHandler\n

OnMessageClause command SuspendOrganization

A suspension reason can be updated by re-issuing the command

Statements

\nset field EstablishedOrganizationState.orgMeta to "OrganizationContext.MetaInfo"send event OrganizationSuspended to outlet OrganizationEventsSource.Sourcebecome entity ImprovingApp.OrganizationContext.Organization to handler SuspendedOrganizationHandler\n

OnMessageClause command TerminateOrganization

Statements

\nset field EstablishedOrganizationState.orgMeta to "OrganizationContext.MetaInfo"morph entity ImprovingApp.OrganizationContext.Organization to state ImprovingApp.OrganizationContext.Organization.TerminatedOrganization with record TerminatedOrganizationState\n

OnMessageClause query GetOrganizationInfo

Statements

\nreply result OrganizationInfo\n

OnMessageClause query GetOrganizationParent

Statements

\nreply result OrganizationParent\n

OnMessageClause query GetOrganizationMembers

Statements

\nreply result OrganizationMembers\n

OnMessageClause query GetOrganizationOwners

Statements

\nreply result OrganizationOwners\n

OnMessageClause query GetOrganizationContacts

Statements

\nreply result OrganizationContacts\n

OnMessageClause query GetOrganizationMeta

Statements

\nreply result OrganizationMeta\n

OnMessageClause query GetOrganizationState

Statements

\nreply result OrganizationState\n

On Other

Statements

\nerror "Move organization to the Active state in order to edit details about organization."\n

Used By

Uses Nothing