Filter for Get Jobs by Hostname, Process Name and State

I am trying to use ‘Get Jobs’. I have looked into other posts but none of it is what I want. So I have the basic filtering “State eq ‘Running’” but I want to add two things. To filter out process name called 'EPF Process Loan 1.2", and filter by Hostname too.

Hi @Aqiff_Shamsul

You can use this expression-

State eq ‘Running’ and not ProcessName eq ‘EPF Process Loan 1.2’ and MachineName eq ‘YourHostname’.

Thanks!!

1 Like

@Aqiff_Shamsul

You can use as below

ReleaseName eq 'ReleaseNameOrProcessName' and HostMachineName eq'Machinenameasinmachinespage' and Statsu eq 'Running'

Cheers

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.