Working with Periodic Processes (WPPR)

Periodic processes are jobs consisting of one or more periodic functions that run on a daily, weekly, monthly, or yearly basis.

See Periodic Functions Available to Schedule for examples of functions to assign to your daily, weekly, monthly and yearly processing.

Note: Periodic functions and processes are not restricted by company; when you create a periodic function or process, it is defined across all companies.

Scheduling jobs: See Scheduling Jobs for information on how to schedule periodic processes.

Execute process through web service: You can also use the CWProcessIn message or the ProcessIn message to start a periodic process. See Using the CWProcessIn Message to Start a Periodic Process or Using the ProcessIn REST Message to Start a Periodic Process for more information.

Options: You can execute a periodic process or display its history from the Work with Periodic Process screen or through separate menu options. See Executing Periodic Processes (EPRO), for information on running a periodic process and Working with Periodic Process History (WPHS), for information on displaying the past records of a periodic process.

Generating a job notification: You can generate an outbound web service message to notify an external system when a periodic process is complete. See Using the Job Notification Outbound REST Message for more information.

Purging history: When a process completes, it automatically deletes any history records for that process that are in completed or canceled status, and whose initiation date is older than the Periodic Process History Purge Days (L77). See that system control value for more information.

In this chapter:

Work with Periodic Processes Screen

Create Periodic Process Screen

Work with Process Assignments Screen (Assigning Functions to a Periodic Process)

Work with Periodic Processes Screen

How to display this screen: Enter WPPR in the Fast path field at the top of any menu, or select Work with Periodic Process from a menu.

Field

Description

Process

The name of the periodic process.

Alphanumeric, 10 positions; optional.

Description

The description of the periodic process.

Alphanumeric, 70 positions; optional.

Appl Area (Application area)

The area of Order Management System (for example, Order Entry) where this process belongs.

Alphanumeric, 3 positions; optional.

Type (Periodic process type list)

Indicates the time period of the periodic process. Processes run on a daily, weekly, monthly or yearly basis. Informational-only.

Valid values are:

• Annually

• Daily

• Monthly

• Weekly

Optional.

Sys opt (System operation)

Indicates whether the periodic process is a system-level process that cannot be changed or deleted.

Valid values are:

Yes = this is a system-level process

No = this is not a system-level process

Screen Option

Procedure

Change a periodic process

Select Change for the process to advance to the Change Periodic Process Screen. You can change any information on this screen except the process name and company parameter. See the Create Periodic Process Screen for field descriptions.

Delete a periodic process

Select Delete for a process to delete it.

Note: You cannot delete a periodic process if process history exists. You must first delete the history before you can delete the periodic process.

Display a periodic process

Select Display for a process to advance to the Display Periodic Process Screen. You cannot change any information. See Create Periodic Process Screen for field descriptions.

Display the periodic functions within the periodic process

Select Functions for a process to advance to the Work with Process Assignments Screen (Assigning Functions to a Periodic Process).

Run a periodic process

Select Execute for a process to advance to the First Execute Periodic Process Screen (Setting Parameters).

Display the history of a periodic process

Select History for a process to advance to the Work with Process History Screen.

Create a new periodic process

Select Create to advance to the Create Periodic Process Screen.

Create Periodic Process Screen

Purpose: Use this screen to create a periodic process.

To assign functions to the periodic process, return to the Work with Periodic Process screen and select Functions for the process. See Work with Process Assignments Screen (Assigning Functions to a Periodic Process).

How to display this screen: Select Create at the Work with Periodic Processes Screen.

Field

Description

Process

The name of the periodic process.

Alphanumeric, 10 positions.

Create screen: required.

Change screen: display-only.

Description

The description of the periodic process.

Alphanumeric, 70 positions; required.

Type (Periodic process type list)

Indicates the time period of the periodic process. Processes can be run on a daily, weekly, monthly or yearly basis. Informational-only.

Valid values are:

• Annually

• Daily

• Monthly

• Weekly

Optional.

Company parameter?

This flag is included on the Change Periodic Process Screen and the Display Periodic Process Screen, and indicates whether any of the periodic functions added through the Work with Process Assignments Screen (Assigning Functions to a Periodic Process) require a company parameter.

Possible settings are:

Selected = One or more of the periodic functions has the Company parameter selected

Unselected = None of the periodic functions has the Company parameter selected

If this value is selected, the Company field at the First Execute Periodic Process Screen (Setting Parameters) is enterable and required; otherwise, the field is display-only.

Appl area

The area of Order Management System (for example, Order Entry) where this process belongs.

Alphanumeric, 3 positions; required.

Job queue

The job queue where the system submits the periodic process. The job queue defaults to QBATCH.

Alphanumeric, 10 positions; required.

Work with Process Assignments Screen (Assigning Functions to a Periodic Process)

Purpose: Use this screen to assign periodic functions to a periodic process.

How to display this screen: Select Functions for a process at the Work with Periodic Processes Screen.

Field

Description

Process

The name of the periodic process.

Alphanumeric, 10 positions; display-only.

Description

The description of the periodic process.

Alphanumeric, 70 positions; display-only.

Type

Indicates the time period of the periodic process. Processes can be run on a daily, weekly, monthly or yearly basis. Informational-only.

• Annually

• Daily

• Monthly

• Weekly

Alphanumeric, display-only.

Appl area

The area of Order Management System (for example, Order Entry) where this application belongs.

Alphanumeric, 3 positions; display-only.

Seq # (Sequence Number)

The position of the function within the periodic process. This number indicates the order in which the system executes the functions within the process.

Numeric, 3 positions; required.

Function

The name of the periodic function.

Periodic functions are validated against the Periodic Function table.

Alphanumeric, 7 positions; required.

Description

The description of the periodic function.

Alphanumeric, 70 positions; displays when correct information is entered in the required fields.

Select

Indicates whether to include the periodic function in the next execution.

Valid values are:

Yes = Include this function.

No = Do not include this function.

Required.

Screen Option

Procedure

Remove a periodic function from a periodic process

Select Delete for a periodic function to advance to the Confirm Delete window. Select Delete to remove the periodic function from the periodic process; otherwise, select Exit to cancel.

WPPR OMS 17.1 September 2018 OTN