Execute_ClaimRestaurantCookingBatch
Description
Claims the oldest restaurant cooking workload for the BaseObject worker. It resumes an unclaimed Cooking batch before creating a batch from the oldest valid Ordered table. The execute is idempotent when the worker already owns a Cooking batch.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | Self or Target. Must resolve to an eligible restaurant worker. |
| S1 / S2 | Not used. |
| F1 / F2 | Not used. Must be 0. |
| Prob | Must be 1. |
Examples
| Description | BaseObject | Command | Prob |
|---|---|---|---|
| Claim cooking work for the acting employee | Self | ClaimRestaurantCookingBatch | 1 |
Back to Command FinderSearch and filter all 399 Script Execution documents