connect_wip_return
Wire the work-in-progress (WIP) return arc to recycle a WIP slot when an entity reaches an exit place, maintaining token flow to downstream consumers.
Instructions
Wire the WIP return arc — recycle a WIP slot when an entity reaches the exit place.
For every transition that already produces tokens into exit_place_id, an extra output arc to the controller's WIPSlots place is added. Tokens are NOT consumed — the entity continues to flow through the exit place to its downstream consumer.
Call AFTER wiring the WIP-controlled section, so the producer transitions of exit_place_id exist.
Args: wip_controller_name: Instance name passed to add_wip_controller exit_place_id: Output place ID of the last pattern in the controlled section
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wip_controller_name | Yes | ||
| exit_place_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |