Process Flow scheduler

Sort:
You are not authorized to post a reply.
Author
Messages
prithwee
Basic Member
Posts: 20
Basic Member
    We would like to schedule a flow which has to run once in two weeks on a given day. How do we set up in the scheduler? It does not have this option. Is there a trick to do this?
    Greg Moeller
    Veteran Member
    Posts: 1498
    Veteran Member
      Not very familiar with Process flow (yet), but if it can be called from a script, then I just figured out how to do it outside of Process Flow. Email me off-line for details. moellerg@genesishealth.com
      John Henley
      Senior Member
      Posts: 3348
      Senior Member
        Here's an idea...
        Use the 'Weekly' scheduler option.
        Then, in the flow, use a javascript function (search Google "javascript weeknumber" for some examples) to determine the week number of the year. Then depending on odd/even week, continue the flow...
        Thanks for using the LawsonGuru.com forums!
        John
        Greg Moeller
        Veteran Member
        Posts: 1498
        Veteran Member
          John: I think what prithwee dhar is trying to say is he wants to run every two weeks regardless of the week number... can you really use the week number function of the year to consistently run every 2 weeks say for instance over several years? I'm not positive you could... but then again, I'm not positive that you couldn't either.
          John Henley
          Senior Member
          Posts: 3348
          Senior Member
            I agree that he wants to schedule it to every two weeks. Since bi-weekly is not a scheduling option in ProcessFlow (or recdef), what I'm suggesting is that he set up a flow that runs EVERY week, but then "quietly exits" on the odd-weeks, but continues running on the even-weeks (or vice versay), thereby running the flow on a "bi-weekly" basis.
            Thanks for using the LawsonGuru.com forums!
            John
            You are not authorized to post a reply.