Scheduled Creation of new folders

I have a requirement for a scheduled folder to be created, say at 7am, and there is to be only one process a day but they may run two on a Monday for the weekend.

 

I think I have the limiting to one folder for a date worked out - the first form has a date field that when they submit the form will check the date against other folders and if it exists will advise the user and close the folder.

 

What I am after is how can I create a schedule to have the folder created at a set time?  Would I create a windows schedule task to raise a flag, create an admin form that at the set time will raise a flag (can you raise flags from admin forms?), or would it need to be a parent process that will need to raise a flag?

 

Thanks,

 

 

Matt

Tagged:

Comments

  • I think any of your ideas might work to create a new folder. In my case I use a Windows Scheduled Task to raise a flag (through cmd prompt), as I feel I have better control over the time it must happen at. You can also do it from an admin form through a code task, just not 100% sure how you will set an exact time that it should happen at.

  • Great, it is good to see that I am finally getting an idea of BPM :D

     

    I do like the sounds of Windows tasks and will most likely head down that path.

     

    Thanks Thomas for your assistance and insight.

     

     

    Matt

  • We do this sort of thing a lot. We laways use a Metastorm Folder to raise flags in this way. Setting the time is not difficult at all. You just need to make sure you make the new time a function on a variable that you set, not the current time (or you get 'drift'). For ecample, 1 weekday after the deadline, and have the timed action based on the deadline.

     

    Advantages are that it is 'contained' in one pl;ace, documented properly (so future generations will not have to do a Sherlock Holmes to find out what makes it work), and can be very easily stopped and started at will, as well as adjusted.

     

    Can't see any downside, either.