Running ERMS Processes

This chapter provides an overview of email response management system (ERMS) processes and discusses how to:

Click to jump to top of pageClick to jump to parent topicUnderstanding ERMS Processes

This section discusses:

Click to jump to top of pageClick to jump to parent topicERMS Processes

ERMS relies on several PeopleSoft Application Engine processes to read email from an external mailbox, analyze and route the emails, automatically reply to structured email, and send alerts when email is not handled within the specified time period. The Understanding PeopleSoft ERMS chapter describes what these processes do. This chapter discusses how to run the processes and describes the process monitoring tools that are available for troubleshooting.

See ERMS Processes.

Click to jump to top of pageClick to jump to parent topicEmail Process States and Incompletely Processed Email

As the ERMS processes handle an email, they maintain process state information. The process state indicates how far along the automated processing is.

Before an email is completely processed, its process state can be:

After an email is completely processed, its process state can be:

The process state is visible on the Message Details page of the email workspace only if the email is not completely processed. Users might access incompletely processed emails under two conditions:

In both situations, the email can be accessed only through the menu navigation to the Search Inbound Emails component: incompletely processed emails do not appear in worklists or the MCF Console. Agents who interact with emails only through the Worklist or the MCF Console will normally never even see incompletely processes emails.

Only the email's mailbox owner can work with incompletely processed emails. (Although the email's group worklist owner has the same privileges as the mailbox owner, incompletely processed emails do not have a group worklist owner because they have not yet been assigned to a group worklist.)

To handle an incompletely processed email, the mailbox owner:

  1. Accesses the email in the email workspace.

  2. Verifies the process state.

  3. Enters sender information, if necessary.

    Depending on which process failed, and when, the sender information may already be present.

  4. Establishes a thread association.

    Depending on which process failed, and when, the thread association may already be established.

  5. Changes the process state to Email Routed.

    This prevents the next instance of the Unstructured Email process from attempting to reprocess the email.

  6. Clicks the Reassign button and send the email to the appropriate group worklist.

    This saves changes to the email.

See Also

Email Status Tracking

Click to jump to top of pageClick to jump to parent topicProcessing Statuses for the Unstructured Email Process

Email that is placed in the unstructured email queue has an additional status tracking field (different from the overall process state) that indicates how far along the Unstructured Email process is. Each email in the unstructured email queue has one of these statuses:

When the Mail Reader process first creates an entry in the unstructured email queue, it assigns status 0 (ready for processing). When the Unstructured Email process runs, it updates the status.

Each instance of the Unstructured Email process picks up all emails with statuses other than 3 (successfully processed). This practice ensures that a future instance of the Unstructured Email process will attempt to reprocess any emails that are not successfully routed.

The Unstructured Email process status is not visible from the email workspace. To view this data, you must query the database.

Click to jump to top of pageClick to jump to parent topicRunning and Monitoring Processes

This section discusses how to:

Click to jump to top of pageClick to jump to parent topicPages Used to Run and Monitor Mail Reader Processes

Page Name

Object Name

Navigation

Usage

Mailbox Viewer

RB_MAILBOX_VIEW

Set Up CRM, Product Related, Multichannel Definitions, Email, Define Servers and Security, Batch User Monitor Form, Mailbox Viewer

Review, and optionally modify, the status and polling frequency of all mailboxes.

Start/Stop ERMS Batch Process

RB_ERMS_BATCH_RUN

Set Up CRM, Product Related, Multichannel Definitions, Email, Define Servers and Security, Batch User Monitor Form, Start/Stop ERMS Batch Process

Start or stop ERMS processes.

Mailreader Process Monitor

RB_MCF_BTH_MONITOR

Set Up CRM, Product Related, Multichannel Definitions, Email, Define Servers and Security, Batch User Monitor Form, Mailreader Process Monitor

Review Mail Reader processing details, and research trouble reports (for example, if agents report that no new emails are arriving).

Click to jump to top of pageClick to jump to parent topicReviewing Process Settings for Mailboxes

Access the Mailbox Viewer page.

The Mailbox Definitions View grid lists all ERMS mailboxes. The grid columns correspond to the identically-named fields on the Mailbox Definitions page. You can edit only the fields that affect the Mail Reader process. Changes you make on this page also appear on the Mailbox Definition page.

See Also

Defining Mailboxes

Click to jump to top of pageClick to jump to parent topicStarting and Stopping ERMS Processes

Access the Start/Stop ERMS Batch Process page.

Start ERMS System

Click to schedule the Mail Reader process, which in turn schedules all other ERMS processes. Each ERMS process schedules its own next instance, so the ERMS processes continue to run at the intervals you've defined until you stop the ERMS system.

Stop ERMS System

Click to cancel all current and future instances of ERMS processes. It is not necessary to stop the ERMS system when you make changes to a mailbox's status or polling frequency.

Click to jump to top of pageClick to jump to parent topicReviewing Mail Reader Processing Details

Access the Mailreader Process Monitor page.

Process Instance Selection

Use the fields in the View For Status and View Mail Reader Logs/Request Details For group boxes to specify the Mail Reader instances that you want to review.

View For Status

Select a status: All, Scheduled, Processing, Completed, Canceled, or Failed. When you refresh the page, only Mail Reader process instances with the selected status are included in the Mail Reader Process Details grid.

Last

To specify a time period for which you want to view process instances, enter the number of Days, Hours, or Minutes. The time period that you enter is measured back starting from the current date and time.

Mailbox ID

To specify a mailbox for which you want to view process instances, enter the mailbox ID.

Instance and To

To specify a range of process instance IDs to view, enter the first and last number in the range.

With Exception Emails

Select to limit the process instances to those where exception emails were processed. Exception emails are emails that were caught by your mail filter definitions and excluded from additional processing.

Refresh

Click to populate the Mail Reader Process Details grid with the process instances that meet your selection criteria.

Mail Reader Process Details

Instance

Displays the process instance ID.

Start Date/Time and End Date/Time

Displays the date and time when the process instance started and stopped.

Mail Reader Details

Click to access the Mail Reader Process Log page, which displays statistics for a Mail Reader process instance.

Process Message Logs

Click to access the Process Monitor - Message Log page, which displays detailed information about any errors that occurred during the process.

Process Request Parameters

Click to access the Process Monitor - Process Request Parameters page, which displays detailed information about any errors that occurred during the process.

See Also

Defining Mail Filters

Enterprise PeopleTools 8.45 PeopleBook: PeopleSoft Process Scheduler

Click to jump to top of pageClick to jump to parent topicReviewing Detailed Process Information

This section discusses how to:

Click to jump to top of pageClick to jump to parent topicPages Used to Review Detailed Process Information

Page Name

Object Name

Navigation

Usage

Mail Reader Process Log

RB_MAILREAD_LOG

Click the Mail Reader Details link on the Mailreader Process Monitor page.

Review statistics for a specific instance of the Mail Reader process.

Exception Email Details

RB_EMAIL_VIEWER

Click the Details link in the Exception Details Captured by this Mail Reader Instance grid on the Mail Reader Process Log page.

Review information about a specific exception email.

Click to jump to top of pageClick to jump to parent topicReviewing Mail Reader Statistics

Access the Mail Reader Process Log page.

Mail Reader Statistics

Mailboxes

Displays the number of mailboxes that were processed by this Mail Reader instance. Mailbox statuses determine which mailboxes the Mail Reader process accesses; mailbox polling frequencies determine which mailboxes are accessed by any particular Mail Reader process instance.

Exception Emails

Displays the total number of exception emails that were processed by this Mail Reader instance. Exception emails are emails that were caught by your mail filter definitions and excluded from additional processing.

Unstructured Emails

Displays the total number of unstructured emails that were processed by this Mail Reader instance.

Structured Emails

Displays the total number of structured emails that were processed by this Mail Reader instance.

Mail Box Statistics For This Mail Reader Instance

This grid lists the mailboxes that were processed and, for each mailbox, displays the number of structured, unstructured, and exception emails that were processed.

Exception Details Captured by this Mail Reader Instance

This grid lists the exception emails that were processed by this Mail Reader instance.

Email From

Displays the sender's email address.

UID of Inbound Email (universal ID of inbound email)

Displays the unique email identifier that People Tools generates.

Mail Filter ID

Displays the ID of the mail filter that caused this email to be an exception email.

Details

Click to access the Exception Email Details page, where you can review detailed information about the email.

Click to jump to top of pageClick to jump to parent topicReviewing Exception Email

Access the Exception Email Details page.

Several of the fields on this page are the same as the identically-named fields on the Mail Reader Process Log page.

Mail Box Details

Displays the description of the mailbox to which this email was sent.

Email Message ID

Displays the email's unique identifier.

Subject and Message Text

Displays the content of the email.