SuspendedOrganizationHandler: Handler
Item | Value |
---|---|
Briefly | Brief description missing. |
Definition Path | ImprovingApp.OrganizationContext.Organization.EstablishedOrganization.SuspendedOrganizationHandler |
View Source Link | organization.riddl(397:21) |
\nerror "Organization already established"
\n
\nset field EstablishedOrganizationState.orgMeta to "OrganizationContext.MetaInfo"send event OrganizationActivated to outlet OrganizationEventsSource.Sourcebecome entity ImprovingApp.OrganizationContext.Organization to handler ActiveOrganizationHandler
\n
A suspension reason can be updated by re-issuing the command
\nset field EstablishedOrganizationState.orgMeta to "OrganizationContext.MetaInfo"send event OrganizationSuspended to outlet OrganizationEventsSource.Sourcebecome entity ImprovingApp.OrganizationContext.Organization to handler SuspendedOrganizationHandler
\n
\nset field EstablishedOrganizationState.orgMeta to "OrganizationContext.MetaInfo"morph entity ImprovingApp.OrganizationContext.Organization to state ImprovingApp.OrganizationContext.Organization.TerminatedOrganization with record TerminatedOrganizationState
\n
\nreply result OrganizationInfo
\n
\nreply result OrganizationParent
\n
\nreply result OrganizationMembers
\n
\nreply result OrganizationOwners
\n
\nreply result OrganizationContacts
\n
\nreply result OrganizationMeta
\n
\nreply result OrganizationState
\n
\nerror "Move organization to the Active state in order to edit details about organization."
\n