../E24264-01.epub /> ../E24264-01.mobi />
This chapter contains the following topics:
When you create a JD Edwards EnterpriseOne workflow process to send messages to individuals or to members of a distribution list, you can perform some initial tasks to make sure that the system is set up to properly distribute these messages. For example, if the recipients of a JD Edwards EnterpriseOne workflow message use a third-party email system, you will need to set up JD Edwards EnterpriseOne with external mail access. For users of the JD Edwards EnterpriseOne mail system, the Work Center, you might want to set up custom queues to organize and categorize messages sent by different JD Edwards EnterpriseOne workflow processes.
You can perform these tasks before you begin creating a JD Edwards EnterpriseOne workflow process:
Set up Work Center queues.
Set up external mail access.
This section provides an overview of JD Edwards EnterpriseOne internal and external email access and discusses how to:
Set up Work Center queues.
Set up external mail access.
Queues categorize messages within the system and organize them in the Work Center. For example, messages can be categorized into queues for priority mail or submitted jobs. Through a queue, users can approve or reject certain activities in the process flow. You set up a queue in the same way as you set up any user-defined code (UDC).
JD Edwards EnterpriseOne Workflow includes several predefined queues, but you might want to set up a custom queue for messages generated by JD Edwards EnterpriseOne workflow processes that you create. For example, you might want to set up a queue for messages generated by a credit limit approval process. This queue could gather any approval or rejection messages related to credit limits for customers. A user can then open that queue and act on the message contained within it.
To set up a queue:
Access User Defined Codes- From JD Edwards EnterpriseOne Workflow Management Setup (G0241), select JD Edwards EnterpriseOne Workflow User Defined Codes (G02411), and then select Employee Task Queues (P0004A).
On Work With User Defined Codes, click Add.
On User Defined Codes, complete these fields in an empty row in the detail area and click OK:
Enter a unique number for the queue.
Enter a description for the queue.
If necessary, enter additional text that further describes the queue.
If special handling is required, enter a code that indicates special processing requirements. The value that you enter in this field is unique for each UDC type.
Enter N in this field.
Note:Only queues with a value of N will appear in the Queue Security application.
SMTP is a TCP/IP protocol for sending messages from one computer to another on a network. SMTP is used on the internet to route messages. In JD Edwards EnterpriseOne, the Send Message Extended system function uses SMTP to route messages to external email addresses.
These are the basic steps to set up external mail access:
Set up an external email address for the message recipient on the EnterpriseOne Address Book, Email/Internet Revisions form.
Make changes to the JDEMAIL section of the JDE.ini file so that JD Edwards EnterpriseOne can communicate with the mail server.
On the workstation, make these changes directly into the jde.ini file.
On Enterprise server, make the changes using Server Manager.
Verify the SMTP server setup.
Define shortcut links.
Sending external messages to users requires you to set up mail preferences correctly for the user receiving a workflow message. You set this user up in the JD Edwards EnterpriseOne Address Book.
To set up mail preferences for a user:
In the Fast Path, type G02, and then press Enter.
Double-click the Employee Queue Manager menu.
The Employee Queue Manager (P012503) application displays.
Search and select the address book number for the employee to whom you want to send external messages.
From the Row menu, select Email Preference.
JD Edwards EnterpriseOne uses the protocol, hostname plus domain name (defined in the Server URL field), and port to construct the shortcut URL. If the HTML server service mapping is not set up, JD Edwards EnterpriseOne uses the primary HTML server specified in P9654A.
Enter the following information in the corresponding fields:
|Electronic Address Type||E|
|Electronic Address||<user's email address>|
Set up the user profile to include the user's address book number.
Workflow messages and internal mail for that user will be sent to the user's external mail address specified above.
Although you can enter several electronic addresses (internal and external) for each address number, all messages must be sent to the same location of external mail, the Work Center, or both. You cannot set up certain messages (such as workflow messages) to go to external mail and other messages (such as UBE completion messages) to go to the Work Center. However, it is possible to define the preference on a user-by-user basis so some users receive messages in the Work Center and others receive messages in an external mail program.
On the workstation and enterprise server, you must make changes to the JDEMAIL section of the JDE.ini file so that JD Edwards EnterpriseOne can communicate with the mail server. On the workstation, you must make these changes directly to the JDE.ini file. On the enterprise server, you can make these changes directly to the JDE.ini file, or make the changes using Server Manager.
The parameters in the JDEMAIL section of the JDE.ini file are designated as Rules 1 through 7, which are explained below:
The MAILSERVER setting identifies the name of the SMTP server responsible for sending messages. This setting must be equal to the name of the machine on which the SMTP service is running. This server name is the same as it is listed in the TCP/IP host file on the server.
When the Send Message or Send Message Extended system function is initiated, the OWMON parameter is used to determine the From address for the mail message. Set this parameter to an appropriate mail address for your company.
When the Send Message or Send Message Extended system function is initiated within application or business function event rules, the PSFT_SYSTEM parameter is used to determine the From address for the mail message. Set this parameter to an appropriate mail address for your company.
Rule5=130|DEFAULT|JD Edwards EnterpriseOne Workflow_SYSTEM=address@your_company.com
When the Send Message or Send Message Extended system function is initiated from an activity in a JD Edwards EnterpriseOne workflow process, the JD Edwards EnterpriseOne Workflow_SYSTEM parameter is used to determine the From address for the mail message. Set this parameter to an appropriate mail address as the originator of a JD Edwards EnterpriseOne workflow message for your company.
For current installations, the MERGELOCAL parameter setting should be equal to 1.
For current installations, the UPDATELOCAL parameter setting should be equal to 0.
These instructions explain how to change the workstation and enterprise server JDE.ini files to communicate with the mail server.
To update the jde.ini file on the workstation:
Locate the [JDEMAIL] section of the jde.ini file.
Set the Rule1 value setting to Rule1=90|OPT|MAILSERVER=<your SMTP server name>
Set the Rule2, Rule3, and Rule4 value settings to the name of the customer site.
Note:You will change the domain name from oracle.com to the customer site web address.
Save and close the jde.ini file.
To update the jde.ini file on the enterprise server using Server Manager:
Each field on the Server Manager screen represents a rule in the jde.ini file. For example, the Mail Server Rule field in Server Manager is the same as the Rule1 field in the jde.ini file. The SAW E-Mail Sender field is the same as Rule2. The Sender E-Mail field is Rule3 and so forth.
Note:You can complete this task either on the web client, or the fat client.
Access Server Manager by entering its URL in Windows Explorer.
In the Configuration section, click the Workflow menu.
On the E-mail Configuration form, complete the fields as follows:
|Mail Server Rule||90|OPT|MAIL SERVER=internal-mail-router.<your company>.com|
|SAW E-Mail Sender||100|DEFAULT|OWMON=OWMON@<your company>.com|
|Sender E-Mail||110|DEFAULT|PSFT_SYSTEM=PSFT_System@<your company>.com|
To verify the SMTP server setup:
Click the Windows Start button, and then click Run.
On the Run dialog box, enter cmd.exe in the Open field.
Ping the SMTP server.
The DOS Command prompt should return with success.
Issue the following command from the client workstation and the enterprise server: telnet <smtpHost> 25.
Note:This command tests the connection to the SMTP server. For example: telnet mail.jdedwards.com 25. You should see returned 220 <SMTP server name> ESMTP.
If the line returned begins with 220, then the SMTP connection integrity is valid.
To test that you have set up the SMTP server correctly, click the following link: http://support.microsoft.com/kb/q153119/
The value used for smtpHost in the above telnet test should be the same value for the mail server that was entered in the jde.ini for the Rule1 mail server.
When a user submits a workflow process on the enterprise server, JD Edwards EnterpriseOne creates a shortcut URL that is sent in an email to the corresponding user. To distinguish which HTML server name to use for a URL shortcut, JD Edwards EnterpriseOne incorporates a hierarchical process. First, it searches for a Server Map HTML server service mapping in the Work with Service Configurations application (P986110 version ZJDE0003). If a mapping is not found at this location, JD Edwards EnterpriseOne then uses the primary HTML server specified in P9654A.
When a user submits a workflow process on the web development client, JD Edwards EnterpriseOne searches for a System HTML server service mapping in the Work with Service Configurations application (P986110 version ZJDE0003). If the mapping does not exist, JD Edwards EnterpriseOne then uses the HTML server listed in the HTML server Preference section of the jde.ini on the workstation. If there is not a HTML server listed in the HTML server Preference section, then JD Edwards EnterpriseOne will then use the primary HTML server specified in P9654A.
Before you can define a shortcut link, you must ensure that you have set up the appropriate HTML server(s) in P9654A. These HTML servers must have the following components defined:
Primary HTML Server. The value 0 is non-primary, and the value 1 is primary.
If the port number is not appropriate for your HTML server, you must delete the server definition and create a new one.
To define a shortcut link:
In the Fast Path, type IV, and then press Enter.
On the Work with Interactive Versions form, enter P986110 in the Interactive Application field.
Click version ZJDE0003, Service Configuration.
This Object Configuration Manager (OCM) version is specific for creating HTML shortcut mappings.
From the Row menu, select Run.
On the Machine Search and Select form, select the system data source, and then click Select.
On the Work with Service Configuration form, click Add.
From the visual assists, select the following options:
|Environment Name||Select the appropriate environment for the mapping.|
|Service Name||HTML server|
|User Role||Select the appropriate user for the mapping.|
|Server||Enter the HTML server you set up in P9654A.|
|Port||Enter the port number for the HTML server.|
On the Work with Configuration form, click Cancel.
Repeat these steps to define a shortcut link for the server map data source.