HTML Email Approvals Configuration (1)
HTML Email Approvals Configuration (1)
The Enterprise Components AWE framework supports the HTML email approvals as
delivered. However, after the AWE framework is enabled, you will need to perform the
following steps to ensure your system will use this functionality according to your business
needs:
Identify the URL of the web server running on your HCM instance that will appear
within the email.
Enable HTML email approvals for your transactions.
Review the transaction template to ensure it meets your organization’s
requirements.
Run the AE process EOAWEMC periodically to process the approval action emails
sent by approvers.
Set the URL to the URL base of the web server running on your HCM instance. The user
can then use this URL to navigate back into the system to access the PIA, if necessary.
Updating the Approval Transaction Registry to Send Email
Approvals
Use the Register Transactions page (EOAW_TXN) to enable email approvals.
Navigation: - SetUpHMS Common Definitions Approvals Transaction
RegistryRegister Transactions.
Notification Options
1) Select Use Email Approvals
Note: - All transactions are delivered with Use Email Approvals deselected.
Notification Options
This section is available only if the Use Email Approvals check box is selected for this
transaction on the Transaction Registry page.
2) Delivery Method
Define whether you wish the users to receive their email approvals as text within the
email, or as attachments. For email approvals select the Inline - HTML Links option.
HTML Emails
This section is available for transactions that use HTML email approvals.
1) Data Source
Lists the header and support records that the email template uses to display the
transaction data.
Allowed Actions
Select those actions links that should be available to the approver(s) within the approval
request email.
These actions are delivered as selected for most online approvals:
Approve
Deny
Pushback (for selected transactions)
Edit Template
Click this button to access the Configure Transactions – Edit Transactions page to modify the
delivered transaction template.
Editing Transaction Templates for Email Approvals
Use the Configure Transactions – Edit Template page (EOAW_EML_TEMPLATE) to edit
transaction templates for email approvals
The values between the % symbols map to the header and support record(s) as configured
in the Data Source grid on the Configure Transactions page.
The %COMMENT% and %ACTION% elements correspond to the Comments grid and Action
links that are inserted in the email prior to sending
Whenever HTML Email Approval is generated an email is generated with an Approve and
Deny link in the mail.
Now when an approver clicks in the approve or deny link an email reply is send to an inbox,
also called the Response Repository.
At a configured interval, an application engine EOAWEMC runs to check the inbox for new
replies. The application engine retrieves the replies and publishes them as services
operations.
Response Repository
The inbox to where HTML Email replies will be send, have to be configured in node
PSFT_EMC_GETMAIL.
configure the connection setting to the Response Repository will be available in Connector
tab of the PSFT_EMC_GETMAIL node.
Change the Following Properties
MCF_Server, this is the POP/IMAP mail server address of Gmail
MCF_User, this is the mail address of the Gmail account, our Response Repository
MCF_Password, this is the password of the Gmail account, encrypted
MCF_Protocol, this is the protocol to use, POP/IMAP can be used
MCF_Port, this is the POP/IMAP port for Gmail
MCF_UseSSL, this enables SSL which is required by Gmail
Because we need to communicate through SSL with Gmail, we need to import the Gmail
certificate in the Integration Gateway. For this export the root certificate of Gmail and store
it on the webserver.
Click on next.
Choose Base-64 encoded X.509 (.CER) option and click Next.
Walk through the same steps as the root certificate and save the certificate with a different
name.
Place those two certificates in webserver(webserv/HCMDMO/piabin).
Click on OK and back on the Digital Certificates page add another row with Type Remote,
Alias GoogleInternetAuthority, Issuer Alias Equifax Secure CA.
Click on import
Now open GoogleInternetAuthority.cer in notepad and copy the entire content as previous.
Now we are ready importing the certificates in PeopleSoft and can start configuring the
application server and process scheduler.
You will be prompted for the password of the keystore, default is password upon install.
Next provide an alias for the certificate and provide the location of the exported certificate.
Finally say yes to trust the certificate. After this bounce the webserver.
This certificate alias needs to be mentioned in the Response Repository Connector
properties.
They are
MCF_ClientCertAlias, this is the alias for the Gmail certificate we just created in the
keystore
MCF_ClientCertPass, this is the password of the keystore
Enabling Pub/Sub Servers
Check the server status via Psadmin to make sure Pub/Sub services are running.
Configure the Pub/Sub Services in Application Server domain to activate the service operations.
Testing whether mail is read thru the node
Navigation: - PeopleTools ->Multichannel Framework Email Sample Pages.
Provide the following details: -
Username: - Email ID which you have used for getting reply from approver.
Password: - Email ID’s password.
Server: - imap.gmail.com/pop.gmail.com (with respect to the node connector).
IB Nodename: - PSFT_EMC_GETMAIL.
Then select the Read Headers as message Count and click on Fetch. It will give inbox
messages count.
Now all the configurations are done and ready to start using the HTML Email Approvals.
Absence Request
Log in as an employee a submit the Absence Request.
With respect to the action selected from the mail, a reply is send to the Response
Repository.
Process Approval
Process EOAWEMC fetches replies from the Response Repository and processes the
transaction.