BigFIx Action script Execution Status

Hello Team,

Good Morning.

We are trying to integrate BigFix with iAutomate for Workflow Automation, now we have one requirement wherein we have to get the status of status of what all commands got executed on the endpoint.
Ideally, we are targetting Action Script Execution Status, is there a way we can get it using REST API?

Regards,
Deepak Batra

Deepak,

Take a look at this website. APt should give you information on leveraging the API to pull back action status.

https://developer.bigfix.com/rest-api/

J

If you’re talking about the detailed action info, that shows the lines of the action script and COMPLETED or FAILED on each line, it’s also useful to know that there is not a single API call for that, and that those results are somewhat assumed.

For that, we retrieve line number of <bes action result>, along with action script of action of <bes action result>

Every line before the current line number is Completed, and the line number itself will either be Completed, ‘Failed’, or ‘Running’ based on the status of the action result.

1 Like

Thanks for the Reply, I can find the Line number in BES Action result Table however Action Script is in BES Action Table.

Looking for feasibility to join them.

Is there any other way inorder to achieve this.

Deepak

I used

https://IPADDRESS:52311/api/query?relevance=(ids of it , action scripts of it , line numbers of results of it,detailed statuses of results of it ) of bes actions whose (id of it equals 1425)

Is there any better way to achieve this?

Deepak

I used

https://IPADDRESS:52311/api/query?relevance=(ids of it , action scripts of it , line numbers of results of it,detailed statuses of results of it ) of bes actions whose (id of it equals 1425)

Is there any better way to achieve this?

Deepak

1 Like

Sure, that looks fine to me

1 Like

Thanks a lot for the confirmation