Condition_IsRestaurantTablePartyServiceState
Description
Checks whether the restaurant party assigned to the BaseObject table is in the service state specified by S1. A table without an assigned party fails for both CompareTypes, so NotEqual only passes for an assigned party that is in another state. Use it to gate table-side service interactions such as handing out the menu.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The restaurant table object whose assigned party is checked |
| S1 | EB1RestaurantPartyServiceState FName, excluding WaitingTable (pre-assignment; never matches a table) |
| CompareType | Equal: the assigned party is in S1. NotEqual: it is in another state |
Examples
IsRestaurantTablePartyServiceState(BaseObject=Target, S1=PendingOrder, CompareType=Equal)
Back to Command FinderSearch and filter all 491 Script Condition documents