Hitachi

JP1 Version 12 JP1/Service Support Configuration and Administration Guide


3.12.4 Pre-deadline email notification

JP1/Service Support can execute the jssinformperiod command to send an email the preset number of days before the deadline of an Item processing stage. To use pre-deadline email notification, the relevant settings must have been specified in the New process work board window or Edit the process work board window before the command is executed. These settings and the jssinformperiod command execution times determine the target Items for pre-deadline email notification. When executed, the command checks for Items whose deadline arrives before 23:59:59 on the day after the number of days specified in the New process work board window or Edit the process work board window. If there are such Items, the command sends notification emails.

The following describes an example of executing the jssinformperiod command when the settings for pre-deadline email notification are specified as shown below in the Edit the process work board window.

Case 1:
  • Notify by email before the deadline: Selected

  • Number of days before the deadline: 3

  • Notify once by email the number of days before the deadline: Selected

Case 2:
  • Notify by email before the deadline: Selected

  • Number of days before the deadline: 3

  • Notify everyday by email from the specified number of days before the deadline until the deadline: Selected

Pre-deadline email notification will send emails in the above two cases for Items scheduled as shown in the following figure. Explanations are below the figure.

Figure 3‒38: Example of the Item processing schedule

[Figure]

In the above example, the jssinformperiod command is executed at 03:00 on 2013/06/05. Therefore, the command sends notification emails for Items whose deadline is within the period from 03:00 on 2013/06/05 to 23:59:59 on 2013/06/08.

Case 1 (an email is sent only once on the day before the preset period):

Item A: The deadline is four days later. As this is outside the check period, a notification email is not sent.

Item B: The deadline is three days later, and is within the check period. A notification email is sent when the jssinformperiod command is executed.

Item C: The deadline is two days later, and is within the check period. Although the deadline is within the check period, a notification email is not sent because the day on which the email should have been sent has already passed.

Case 2 (an email is sent every day until the deadline):

Item A: The deadline is four days later. As this is outside the check period, a notification email is not sent.

Item B: The deadline is three days later, and is within the check period. A notification email is sent when the jssinformperiod command is executed.

Item C: The deadline is two days later, and is within the check period. Although the day before the predefined number of days from the deadline has already passed, because the option that sends an email every day is selected, an email is sent when the jssinformperiod command is executed.

Note that the jssinformperiod command can be executed periodically (at the same time every day) by using the JP1/Service Support - Task Service. In this case, an email is sent every day (when the jssinformperiod command is executed) on the last three days before the deadline.

For details about setting pre-deadline email notification in the New process work board window and Edit the process work board window, see 9.6 Creating process work boards. For details about the jssinformperiod command, see jssinformperiod (notifies of closing deadlines) in Chapter 12. Commands. For details about the JP1/Service Support - Task Service, see 3.19 JP1/Service Support services.

Note that an email sent to a person in charge or process work board manager can contain event reports on multiple Items on a process work board basis. The maximum number of Items for which events can be reported by one email is specified by using the Email definition file. For details, see Email definition file (jp1imss_mail_setting.conf) in Chapter 13. Definition Files.