1 Reply Latest reply on Jun 13, 2014 8:40 AM by StefanOEG

    Exiting a scheduled policy run


      Here is my scenario:


      1) Poll the status of a service (could be processing or error or completed) continuously until it is in error or completed status

      2) Auto-stop execution of the scheduled policy once the status gets updated to error or completed


      Policy execution scheduler helps to schedule the execution of the policy. How can we exit the scheduled runs of the policy once the service status changes to either error or completed?

        • 1. Re: Exiting a scheduled policy run



          That is not possible in any version.


          A solution could be by using a global variable, KPS / Database value, read/write a value from file on disk to control if a policy should be executed or not.. But I think I would look at a complete other solution scripting something outside of the Gateway to achieve this.