Running Process model on Dynamic time

Certified Senior Developer

Hi Team, 

I have a requirement where the email needs to be triggered on specific date and time.

For ex. User is raising a request initially. While raising the request he can set the remainder date. This date I am storing in DB. Email needs to be triggered for the remainder dates. What is the best practice to do this?

Thanks!!

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Senior Developer

    Hy Sri,

    We have to go with running wrapper process at every 15/30mins or max of 1hr timeframe.

          In that process you can check for the requests which needs to be notified within next 15/30mins or 1hr & In MNI you can call scheduled email node process (call it as start process so that wrapper will get terminated quickly). 

    If you run at 6/12/24 hrs once, then only it will affect memory as it will be active for longer time due to scheduled email nodes. But if we run wrapper at lesser than 1 hr, child instances will be active at max of next wrapper get triggers which will free up the memory frequently.

Reply
  • 0
    Certified Senior Developer

    Hy Sri,

    We have to go with running wrapper process at every 15/30mins or max of 1hr timeframe.

          In that process you can check for the requests which needs to be notified within next 15/30mins or 1hr & In MNI you can call scheduled email node process (call it as start process so that wrapper will get terminated quickly). 

    If you run at 6/12/24 hrs once, then only it will affect memory as it will be active for longer time due to scheduled email nodes. But if we run wrapper at lesser than 1 hr, child instances will be active at max of next wrapper get triggers which will free up the memory frequently.

Children
No Data