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

DraftLocation: Handler

ItemValue
BrieflyBrief description missing.
Definition PathImprovingApp.Venues.LocationContext.Location.Draft.DraftLocation
View Source Linklocation.riddl(29:19)

OnMessageClause command ImprovingApp.Venues.LocationContext.EstablishLocation

Statements

\nerror "Location already established"\n

OnMessageClause command ImprovingApp.Venues.LocationContext.EditLocationInfo

Statements

\n"set Draft info fields to EditLocationInfo.info""yield event LocationInfoUpdated"\n

OnMessageClause command ImprovingApp.Venues.LocationContext.UpdateLocationStatus

Statements

\n"morph Location to the state provided in UpdateVenueStatus""set MetaInfo to capture change data""yield event VenueInfoUpdated"\n

OnMessageClause query GetLocationVenue

Statements

{
  "yield event LocationVenue"
} else {
  error "LocationId not found as requested"
}
```\n
## *Used By None*

## *Uses Nothing*