Scheduled start

Scheduled start

Normally InterFormNG2 setup to react to a new input file, which triggers a workflow, but you can also create a workflow with input type, scheduled start. A workflow with input type, scheduled start, starts up each day at a specific time (You can however make it more advanced with the Advanced scheduling option below):

    

 

The fields are:

  1. Input type
    The type of the input files, that are handled as input in the workflow and perhaps loaded at some point.
  2. Advanced scheduling
    This is optional. If selected, then this will override the other parameter, Every day at (HH:MM). With the advanced scheduling you can setup the workflow to start with a fixed time interval or e.g. on specific days, months or years. The advanced scheduling is covered in details below.
  3. Every day at (HH:MM)
    The time at which the workflow should start up each day.
  4. On error workflow (not shown above)
    Another workflow to be called, if there is an error during processing of this workflow. This can be overwritten with another workflow.

 

Advanced scheduling in details

If you select the advanced scheduling option (by clicking the clock icon on the right), then you will see the scheduling options:

    

 

Each of the options are described in detail below:

Every X Second(s)/Minute(s) or Hour(s)

If you select this option, then you are asked for how many second(s)/Minute(s) or Hour(s) InteFormNG2 should wait before scheduling the workflow. You are simply prompted for the seconds, minutes or hours to wait. The most advanced is the Hour option:



So above you can not only state how many hours to wait between each run, but you an also choose at how many minutes past the hour it should run and when to start.


Daily

If you select a daily run, then you will have these options:

NG2WorkflowScheduledStart0004

 

So you can choose:

  1. At what time of the day, that the workflow should run.
  2. You can choose to run it every day (every 1 day(s)) or wait multiple days between each run.
  3. Instead of running with an interval of day(s) between each run you can also choose to run it at specific day(s) of the week.

Weekly
If you select weekly the options are pretty close to the options for the daily selection:

NG2WorkflowScheduledStart0005


So here you select:

  1. At what time of the day, that the workflow should run.
  2. You choose on at which specific day(s) of the week, that the workflow should run.

Monthly

These are the options for a monthly, scheduled run:

NG2WorkflowScheduledStart0006


  1. First you state the time of the day on which the job is to run.
  2. Next you can choose to run the scheduled job at a specific day number of the month (1st to 31st) and you can choose to wait multiple months between each run.
  3. Alternatively to a day number you can also refer to week days, with these parameters:
  1. The first parameter (followed by The) can be: First, second, third, fourth, fifth or last.
  2. The second parameter can be: Monday, tuesday, wednesday, thursday, friday, saturday, sunday, day or weekday.
  3. The third paramater like above can be a number of 1 to 12 to state how many months to wait between each run.

Yearly

The options for a yearly, scheduled run are:

NG2WorkflowScheduledStart0007

 

  1. First you specify the time of the day to run the workflow and how many years to wait between each run.
  2. Secondly you can choose a month and a fixed day of the month to run the workflow.
  3. Alternatively you can choose to run the job more flexible with these last options:
  1. On the first, second, third, fourth, fifth or last of what is selected in the second parameter:
  2. Monday, tuesday, wednesday, thursday, friday, saturday, sunday, day or weekday of the month selected in the last parameter.
  3. In the last parameter you simply select between the months of the year.

 


    • Related Articles

    • Start approval process

      If you have setup InterFormNG2 to use versioning and combined that with approvals for one or multiple resource types, then you need to setup a workflow, which is able to process the approvals. Such a workflow is setup with the input type: Start ...
    • Start and stop remote clients

      Refer to this for the complete setup of remote clients. This section contains information of how to start and stop the service, that runs the remote client. Starting a remote client service You can start a remote client in two ways: Via a Windows ...
    • Start/stop InterFormNG2 on Windows platform

      Before you start the InterFormNG2 service you should consider, if the port number (default 8086) is to be used. If not, you can change the port number. The normal, manual start/stop of the InterFormNG2 service is described below, and the procedure to ...
    • Start/stop InterFormNG2 on the IBM i platform

      Before you start the InterFormNG2 service you should consider, if the port number (default 8086) is to be used. If not, you can change the port number. The job running the InterFormNG2 service is started/stopped with the IFORMNG2/IFORMNG2 subsystem. ...
    • Send emails from delay queue

      This advanced special workflow component sends out all delayed emails (that are not canceled) for a specific queue. This component is normally scheduled by activation in a workflow with a scheduled start. Related workflow components: Cancel delayed ...