Skip to main content

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

ParameterDescription
BaseObjectThe restaurant table object whose assigned party is checked
S1EB1RestaurantPartyServiceState FName, excluding WaitingTable (pre-assignment; never matches a table)
CompareTypeEqual: the assigned party is in S1. NotEqual: it is in another state

Examples

IsRestaurantTablePartyServiceState(BaseObject=Target, S1=PendingOrder, CompareType=Equal)