Get Jobs Activity Filter

Hello,
I am trying to get the details of the job using the “Get Jobs” activity.
I have utilized the filter option available on that activity. I have provided “Release/Name eq ‘ProcessName’ & $orderby CreationTime desc”. It was giving me recent jobs executed for the mentioned ProcessName.
However, I have tweaked the filter by adding another condition to check State and the updated filter is “Release/Name eq ‘ProcessName’ & State eq ‘Successful’ & $orderby CreationTime desc” but it was not applying the filter on State.
I interchanged the Release/Name and State positions in the filter, and this time the filter was not applied to Process Name.

Did I miss anything in the filter? Does the filter have the capability to filter on multiple options? Please someone help me?
Appreciated your assistance!! Thank you!!

@manohar_e

instead of & used and between filters only

cheers

1 Like

Awesome. I didn’t think along those lines. Thank you for your quick response & help!!
I would appreciate you if you can guide me to use other filters such as $top, etc

1 Like

@manohar_e

Similar to how you add orderby is how you can add top etc

try in swagger first so that you understand the structure as well…that will show you the request created with the given details

cheers

Thank you for your suggestion. I will explore as you suggested.

1 Like

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