Action isSkipped seems to always be false

I was trying to setup an email notification when the deployment is finished with the following template:

The deployment included the following actions:

    #{each action in Octopus.Action} #{unless ation.IsSkipped}
  • #{action.Name} #{if action.Package.NuGetPackageId}— #{action.Package.NuGetPackageId} version #{action.Package.NuGetPackageVersion}#{/if}
  • #{/unless} #{/each}

However, I often only activate a few actions (Deploy > Advanced > Skip) but the email still comes in with every actions.
Am I missing something?

Thanks in advance


Thanks for getting in touch! It looks like there is a typo in your second line.

#{unless ation.IsSkipped}
Should be:
#{unless action.IsSkipped}

We put this into our VM and tested it with the fixed variable and it looked to work fine. :slight_smile:

Let me know if this fixes the issue.


Works like a charm, stupid typo :slight_smile:

Thank you!


No worries at all! I’m glad its working for you now.

Please don’t hesitate to get in touch if you run into any further issues or have any questions.