List Server Automation Plans

Hi,

How to get the list of Server Automation Plans using query language?

Thanks
Ravi

Assuming you mean session relevance, here’s a sample query:

(id of it | 0, name of it | "NA", name of site of it | "NA") of bes fixlets whose (exists mime field "plan-fixlet-children" of it)

Thank you, I can list the plans with the query.

<Result>
	<Tuple>
		<Answer type="integer">95</Answer>
		<Answer type="string">MEPPRD-Z370-Plan BigFix Plan for Verification</Answer>
		<Answer type="string">ActionSite</Answer>
	</Tuple>
	<Tuple>
		<Answer type="integer">426</Answer>
		<Answer type="string">MEPPRD-Z371-Plan BigFix Plan for Verify BigFix Services</Answer>
		<Answer type="string">ActionSite</Answer>
	</Tuple>
	<Tuple>
		<Answer type="integer">623</Answer>
		<Answer type="string">MEPPRD-Z372-Plan BigFix Plan for Verify BigFix Services</Answer>
		<Answer type="string">ActionSite</Answer>
	</Tuple>
</Result>

Could you advise how to get the full details of each plan?

I’m interested to better understand what it is you are trying to achieve, but I believe that a plan’s details are defined in the actionscript (in XML format). As such, here is a sample query to return the list along with details for each:

(id of it | 0, name of it | "NA", name of site of it | "NA", script of action of it) of bes fixlets whose (exists mime field "plan-fixlet-children" of it)

Yes. It’s the correct understanding. I can find the details of each plan. Thank you.