DeploymentProcesses.FindAll()

Hi Guys,

I was trying learn how to inject steps into deployment processes and i ran into this problem. I usually use the FindAll() Method without arguments to get everything using the Octopus Libraries. This is what i get when i try to run the method for DeploymentProcesses

PS C:\SomeFolder> $repository.DeploymentProcesses.FindAll() 

Exception calling "FindAll" with "0" argument(s): "The resource you requested was not found."

Octopus.Client.dll version: 2.5.8.447
Octopus.Client.dll platform: 2.5.8.447

Am I calling the method the wrong way?

Thx :slight_smile:

Not the most helpful subject for the support request, uh? :frowning:

Hi Dalmiro,

Thanks for getting in touch! FindAll can only be used in this way when you have a project.
You will need to iterate through the projects then fetch the deployment process for each.

Hope that helps!
Vanessa