Identifying selected deployment processes from release steps

stephen.ngqwebo's Avatar


28 Feb, 2018 07:54 AM

I have a project with a multiple with a deployment process with multiple steps. Sometimes I want to deploy some and not all the components so i select which ones to skip. When I have skipped some, I need a way to identify the ones to be included in the deployments. I want to use this list of steps as input to another step which will run a Powershell script.

is this possible?

  1. Support Staff 1 Posted by Daniel Fischer on 05 Mar, 2018 04:04 AM

    Daniel Fischer's Avatar

    Hi Stephen,

    Thanks for getting in touch! We have a system variable which should help you out here:


    This system variable will return a Boolean value for the step you input. As an example:

    If I have the STEP-A, STEP-B, and STEP-C, yet disable STEP-B before I deploy, I can put the following into a script step at the end of the deployment:

    #{Octopus.Action[STEP-A].IsSkipped}  |  False
    #{Octopus.Action[STEP-B].IsSkipped}  |  True
    #{Octopus.Action[STEP-C].IsSkipped}  |  False

    Let me know if this is what you were after, or if you have any further questions here. :)

    Best regards,

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac