---
title: "Editing Event-Based Programs and Program Steps"
canonical: "https://farmconnect.docs.rubiconwater.com/space/FCD/2066153473/Editing%20Event-Based%20Programs%20and%20Program%20Steps"
format: markdown
---
> Macro (toc)

This topic deals with changes to unsynchronised programs. See [https://rubiconwater.atlassian.net/wiki/spaces/FCD/pages/2039742532](https://rubiconwater.atlassian.net/wiki/spaces/FCD/pages/2039742532)for help with editing pending or operating programs.

# Editing the Program Details

Edit the Program Details panel to change the program name or the program start time.

> ℹ️ **Note**
> ℹ️ 
> ℹ️ Remember to click the Save Program Changes button to save your changes.

# Editing Program Steps

You can modify or delete steps after you have added them to a program by using the editing controls in the Program Steps List.

## Changing Step Details

Change details such as durations or event settings by clicking into the relevant fields. Editable values will be highlighted. If your steps consist of action groups, you will need to edit the actions inside the action group.

You can’t change the bay or device for a step after the step is created. To do this, delete the step and create a new step.

## Editing Program Action Groups

Click the Edit Program Action Group icon in the Program Steps List to open and edit the individual actions in a built-in or custom action group in a popup window. 

> ℹ️ **Note**
> ℹ️ 
> ℹ️ You can now edit both the event or action as well as the event or action parameters. This means that you do not need to delete and recreate a step to change the event or action for the step.

![image](media://c7ed3c76-725d-4fa3-a251-281bf74ec620)

## Deleting Program Steps

To delete a program step, click <span style="color: #ff5630">**X**</span> **Delete** in the Program Steps List beside the step you want to remove. 

> ℹ️ **Caution**
> ℹ️ 
> ℹ️ If there are any later steps that were set to start at the end of the deleted step their start time will fall back to the end of the previous step. Be sure to check the sequence of steps in the Program Schedule Chart.

## Changing the Order of Program Steps

To change the order of program steps, or to have steps run simultaneously, edit the **Occurs After** field in the Program Steps List. Check the Program Schedule chart to make sure your changes have not had any unexpected side-effects.

## Enabling and Disabling Program Steps

Use the **Enabled** checkboxes in the Program Steps List to enable or disable individual steps. 

> ℹ️ **Example**
> ℹ️ 
> ℹ️ You might do this if you need to make changes to a program that is already in progress. In that case you would pause the program and make your changes. Then disable any steps that have already been completed and synchronise the program again so that it can restart at the point where it was paused. See [https://rubiconwater.atlassian.net/wiki/spaces/FCD/pages/2039742532](https://rubiconwater.atlassian.net/wiki/spaces/FCD/pages/2039742532)for more about modifying programs that are in progress.

## Automatically Reducing the Duration of Steps

Use the **Reduce Duration Based On** column in the Program Steps list to adjust the duration of a subsequent step based on the time taken in an earlier step. If the earlier step stops early due to an event occurring then the later step is reduced by the same proportion.

> ℹ️ **Example**
> ℹ️ 
> ℹ️ Suppose you have:
> ℹ️ 
> ℹ️ - Added an action to irrigate a bay for a default time of 60 minutes.
> ℹ️ - Configured a stop event for the irrigation (such as a water level sensor reading a specified level).
> ℹ️ 
> ℹ️ When the program runs, the bay irrigation may last for less than 60 minutes if the stop event fires earlier. For any later step, we can use the *Reduce Duration Based On* option to pro-rata the default time irrigation time based on the actual time taken for the earlier step.

![image](media://b71c032f-0dfd-41c3-bcaa-a32b665bc875)

*Reducing the duration of step 2 based on the duration of step 1*

---