Process model (scheduler) runs automatically after a deployment on other environment

Certified Senior Developer

I am working on a scheduler which will run at4:00 AM daily.

but when i deploy the process model object to test enviroment it ran automatically first and later on schduled time.

So how can we manage this scenario so that the scheduler will run only at the scheduled time.

Many thanks in advance.

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Senior Developer

    Every time a scheduled process model is published, it will run. In your case, you are deploying to another environment where it gets published. Thats why it runs at that time and again at the scheduled time. If you dont want this behaviour to happen, you can have an environmental constant and configure it to false while deploying the application. After deploying the changes, you can update the constant value to true and it will run only in that particular time.

Reply
  • 0
    Certified Senior Developer

    Every time a scheduled process model is published, it will run. In your case, you are deploying to another environment where it gets published. Thats why it runs at that time and again at the scheduled time. If you dont want this behaviour to happen, you can have an environmental constant and configure it to false while deploying the application. After deploying the changes, you can update the constant value to true and it will run only in that particular time.

Children