# Drawstep engine · Effects · `repeatProcess` > Repeat process — CR 608.2c: repeat the enclosing repeat { process: true } after this pass. Engine: Magic: The Gathering (`mtg`). This is one primitive of the Drawstep card vocabulary; field names and the discriminator are exact. Wiki page: https://drawstep.xyz/wiki/mtg/effects#repeatProcess ## Where it goes One step of an ability's `effects[]` (a spell's, a trigger's, an activated ability's, a mode's): `{ "effect": "repeatProcess", … }`. Steps resolve in order. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `optional` | `boolean` | no | CR 608.2d: "you may repeat this process any number of times" | | `once` | `boolean` | no | CR 608.2c: "repeat this process once" — only the first pass may start one more pass | ## Minimal form ```json {"effect":"repeatProcess"} ``` The engine reads that minimal form as: “repeat this process”. ## Stock examples - **Delina, Wild Mage** — “1—14 | Create a tapped and attacking token that's a copy of that creature, except it's not legendary and it has "At end of combat, exile this token."” ```json {"effect":"repeatProcess","optional":true} ``` - **Eureka (fixture)** — “Starting with you, each player may put a permanent card from their hand onto the battlefield. Repeat this process until no one puts a card onto the battlefield.” ```json {"effect":"repeatProcess"} ``` - **Tainted Pact (fixture)** — “Exile the top card of your library. You may put that card into your hand unless it has the same name as another card exiled this way. Repeat this process until you put a card into your hand or you exile two cards with the same name, whichever comes first.” ```json {"effect":"repeatProcess"} ``` ## Related - [Effects](https://drawstep.xyz/wiki/mtg/effects.md) — the whole topic - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive