Patch Management Workflow Web Service Application Programming Interface (API)
The PatchWorkflowSvc Web Service page presents the list of available methods along with method call examples. You can invoke the methods on this page.
You can access the page at http://localhost/Altiris/patchmanagementcore/patchworkflowsvc.asmx
Starting from 8.5 RU3, the HTML Help page is introduced. The page includes list of available methods, detailed descriptions of methods and their parameters, and usage examples for some methods.
You can access the page at http://localhost/Altiris/patchmanagementcore/patchworkflowsvc.html
I am automating the creation of policy for CentOS and RHEL using the method https://support.symantec.com/us/en/article.doc11543.html#CreateUpdatePolicy . I am able to create the policy and also see it in the Altiris console.However, the policy doesn't reflect on the endpoint machines. If I disabled the policy and then enable it, the policy shows up on the endpoint.
Any ideas on whats going on, and how to fix it.
Normally you need to wait for a Delta update, what frequency is that on?
If you do an “update config” on the endpoint does it show up?
When you check the policy does the target show the machine in it?
SMP - ASDK - Web Service - Update Resource Target
See this previous forum post with useful pictures
open the agent and click the button
or you can send a task
you can also script using the ASDK
As per the config on my server the delta update is set to 5 min frequency ( see attached). Since my endpoints are linux, there is no UI on the SMA. I have tried refresh policies from the bash prompt to refresh the policies, but still the policy is not getting listed.
Since just disabling and enabling the policy makes it available, I believe the target is not a problem.
I saw there is a way to diable a policy using the API, is there a way to enable it too ?
Thanks in advance..
Hi Sandeep, you may try the following workaround - use SetProperty method with GUID of policy you need to enable in guidItem and Enabled=true in nameValueList.
I tried to enable the policy using the SetProperty. The policy does get enabled, but it doesn't help in distributing the policy. The policy distrtibution is completely random and any guidance on how to debug the situation will be of great help.
Do we need to wait for some period for the distrtibution to work ?