---
title: "Creating Program Steps with the Advanced Interface"
canonical: "https://farmconnect.docs.rubiconwater.com/space/FCD/2039873539/Creating%20Program%20Steps%20with%20the%20Advanced%20Interface"
format: markdown
---
We’ll create the same program as we did in the Simple Interface example here: [https://rubiconwater.atlassian.net/wiki/spaces/FCD/pages/2015691280](https://rubiconwater.atlassian.net/wiki/spaces/FCD/pages/2015691280) but using the Advanced Program Interface to show the differences between the two interfaces. 

> ℹ️ **Note**
> ℹ️ 
> ℹ️ In practice you would not need to use the Advanced Program interface for a simple single bay irrigation like this.

> ℹ️ **Example**
> ℹ️ 
> ℹ️ For this example we need to:
> ℹ️ 
> ℹ️ - Open BAY 2 when the water level in the supplying CHANNEL 1 reaches 500 mm, wait for 60 minutes, then close Bay 2.
> ℹ️ 
> ℹ️ In the Simple Interface we only needed one program step because we used the built-in simple action group **Irrigate Bay 2 **which both opens and closes the bay gate. In this example we will need two steps - one to open and one to close the gate.

**Step 1**

Our first step opens the gate when the water level in Channel 1 reaches 500 mm.

![image](media://b5d568f8-2fb3-4811-bd58-8cb5439e2a8b)

Notice that:

- We selected *New Program Action* in the **Perform** field. That allows us to choose from the built-in device specific actions. (The alternative, *Stored Program Action*, allows you to choose from any custom action groups you may have created. See [https://rubiconwater.atlassian.net/wiki/spaces/FCD/pages/2038988916](https://rubiconwater.atlassian.net/wiki/spaces/FCD/pages/2038988916) for details).
- The action and event timeout and timeout action controls are provided in the program interface, you don’t need to edit them later as you did with the Simple Interface.

Save the action by clicking **Create New Action**.

**Step 2**

The second step closes the gate after a delay of 60 minutes.

![image](media://4c0225ef-5cf2-47f5-bf36-697208d4ca7a)

Click **Create New Action** to save the step.

Our saved program steps now look like this:

![image](media://75d6c3ad-c2a2-45ba-9f17-3d78e2bdf21c)

---