ITMS Administrator Group

 View Only
  • 1.  Can you run the Automation Policy as the task in Managed Policy or Job ?

    Posted Jun 11, 2014 06:45 AM

    Hello community,

    I need to run the automation policy that send the report results as part of the sequence action for targeted computers.

    The automation policy can be scheduled to run every x minutes/days.

    The point the target is dynamic. So the pc drops, some actions are done like installs, then pc drops off the target, then the notification should be sent.

    If I schedule the policy to run too offten more than one message is sent for the same pc over and over before pc drops the target.

    If I schedule the automation policy to run less frequently sometimes the pc manages to leave the target before the report runs.

    I am thinking about running the policy in 'Run sql code ' task. 

    But can automation policy be trigerred on demand ? What is the code ?

    I do not have the Workflow implemented.

    Thanks for any ideas in advance.

    Tomasz



  • 2.  RE: Can you run the Automation Policy as the task in Managed Policy or Job ?

    Posted Jun 18, 2014 11:16 AM

    Hi Tomasz,

    An Automation Policy uses an Automation Task to do the work of what you want the policy to do. If you create a new Server Job and add an existing task or job, you should be able to add any of your Automation Tasks in the server job. Does that work for you?

     

    AutomationTaskinJob.jpg



  • 3.  RE: Can you run the Automation Policy as the task in Managed Policy or Job ?

    Posted Jun 24, 2014 07:11 AM

    hi Drew,

    Thanks for the idea. However it does not work for me. My automation policy sends out the report for all computers in given filter.

    Using standalone 'Send automated report e-mail' or 'Send automated report e-mail' task in Job will not work. The task alone does not have option to edit input parameters and you cannot attach report's result in this standalone task if the task is not connected with Automation policy.

    Automation policy.PNG

    My goal is to excecute the report, send the results but only once when computer drops into filter.

    If you could send report's results using Send automated report e-mail' task that would likely work for me.

    Any other ideas ?