General Actions:
The One Step Approval process does not support editing and does not allow approvers to add comments. There will therefore be instances when the Approver must continue to log into PECOS P2P to edit or add comments prior to approval.
The feature includes several components:
The following configuration of the workflow is required:
1. Workflow Activity
The workflow task must be setup to support One Step Approval by selecting the activity ‘Request One Step Approval’.
2. eMail Message
The primary difference between one-step approvals and standard approvals is in the eMail notification message.
The message must include the proper links in the form of specially formatted html that will provide the one-step functionality. These message formats are provided below. Approvers need only to click on the appropriate button to complete the approval action: approve or return.
The one-step email will contain an extra attachment that contains a snapshot summary of the document, to allow the approver to view its details without logging directly into PECOS P2P.
A dynamic option is available to enhance security by forcing the approver to have to enter their login id and password after clicking on one of the eMail responses (see ‘eMail Forwarding and Security’).
When creating the email message the following html text must be added, exactly as displayed below. In the email received by the approver, two buttons with the correct document number and user information will be displayed.
<html>
<body>
<style type="text/css">
a.buttonText {font: normal bold 12px tahoma, arial, sans-serif;color:white;text-decoration:none;}
a.buttonText:hover{color:#fffece}
td.button {
background-color: #4477aa;
border-left: 1px solid #6699cc;
border-top: 1px solid #6699cc;
border-right: 2px solid #000066;
border-bottom: 2px solid #000066;
text-align:center;
padding: 0px;
}
</style>
User <b>%@BuyerName%</b> has submitted requisition <b>%@ExternalRequisitionID%</b>. This requisition requires your approval.<br> <br>
<table style="height:18px;">
<tr>
<td style="height:18px">
To approve the requisition directly, click on this button:
</td>
<td class="button" style="width:80px;height:18px">
<a class="buttonText" href="http://%@WebHostName%/IPMExports/reqAutoApprove.asp?action=approve&request=<%%AutoLoginToken%%>&auth=<%%AutoLoginAuth%%>" target="_blank">Approve</a>
</td>
</tr>
</table>
<br>
<table style="height:18px;">
<tr>
<td style="height:18px">
To reject the requisition and return it to the requisitioner, click on this button:
</td>
<td class="button" style="width:80px;height:18px">
<a class="buttonText" href="http://%@WebHostName%/IPMExports/reqAutoApprove.asp?action=return&request=<%%AutoLoginToken%%>&auth=<%%AutoLoginAuth%%>" target="_blank">Reject</a>
</td>
</tr>
</table>
<br>
To see the full details of this requisition, click on the attached HTML page.<br> <br>
</body>
</html>
Note the double percent signs around the AutoLoginToken and AutoLoginAuth keywords. Secondly, the only option to vary the two URLs is the substitution of https for http.
The email received by the approver contains an extra attachment displaying details of the requisition. The requisition detail page is necessary, as the approver will not be entering PECOS P2P to undertake the approval. Clicking on the attachment will open the requisition detail page for the requisition to be reviewed.
When creating the email message for purchase order one step approval, the following html text must be added, exactly as displayed below. In the email received by the approver, two buttons with the correct document number and user information will be displayed.
<html>
<body>
<style type="text/css">
a.buttonText {font: normal bold 12px tahoma, arial, sans-serif;color:white;text-decoration:none;}
a.buttonText:hover{color:#fffece}
td.button{
background-color: #4477aa;
border-left: 1px solid #6699cc;
border-top: 1px solid #6699cc;
border-right: 2px solid #000066;
border-bottom: 2px solid #000066;
text-align:center;
padding: 0px;
}
</style>
User <b>%@BuyerName%</b> has submitted Purchase Order <b>%@ExternalOrderID%</b>. This order requires your approval.<br> <br>
<table style="height:18px;">
<tr>
<td style="height:18px">
To approve the order directly, click on this button:
</td>
<td class="button" style="width:80px;height:18px">
<a class="buttonText" href="http://%@WebHostName%/IPMExports/OneStepApproval.asp?action=approve&request=<%%AutoLoginToken%%>&auth=<%%AutoLoginAuth%%>" target="_blank">Approve</a>
</td>
</tr>
</table>
<br>
<table style="height:18px;">
<tr>
<td style="height:18px">
To reject the order and return it to the requisitioner, click on this button:
</td>
<td class="button" style="width:80px;height:18px">
<a class="buttonText" href="http://%@WebHostName%/IPMExports/OneStepApproval.asp?action=return&request=<%%AutoLoginToken%%>&auth=<%%AutoLoginAuth%%>" target="_blank">Reject</a>
</td>
</tr>
</table>
<br>
To see the full details of this order, click on the attached HTML page.<br> <br>
</body>
</html>
Note the double percent signs around the AutoLoginToken and AutoLoginAuth keywords. Secondly, the only option to vary the two URLs is the substitution of https for http.
The email received by the approver contains an extra attachment displaying details of the purchase order. The order detail page is necessary, as the approver will not be entering PECOS P2P to undertake the approval. Clicking on the attachment will open the purchase order summary page for the order to be reviewed.
When creating the email message for change order one step approval, the following html text must be added, exactly as displayed below. In the email received by the approver, two buttons with the correct document number and user information will be displayed.
<html>
<body>
<style type="text/css">
a.buttonText {font: normal bold 12px tahoma, arial, sans-serif;color:white;text-decoration:none;}
a.buttonText:hover{color:#fffece}
td.button{
background-color: #4477aa;
border-left: 1px solid #6699cc;
border-top: 1px solid #6699cc;
border-right: 2px solid #000066;
border-bottom: 2px solid #000066;
text-align:center;
padding: 0px;
}
</style>
User <b>%@BuyerName%</b> has submitted Change Order <b>%@ExternalOrderID%</b>. This order requires your approval.<br> <br>
<table style="height:18px;">
<tr>
<td style="height:18px">
To approve the order directly, click on this button:
</td>
<td class="button" style="width:80px;height:18px">
<a class="buttonText" href="http://%@WebHostName%/IPMExports/OneStepApproval.asp?action=approve&request=<%%AutoLoginToken%%>&auth=<%%AutoLoginAuth%%>" target="_blank">Approve</a>
</td>
</tr>
</table>
<br>
<table style="height:18px;">
<tr>
<td style="height:18px">
To reject the order and return it to the requisitioner, click on this button:
</td>
<td class="button" style="width:80px;height:18px">
<a class="buttonText" href="http://%@WebHostName%/IPMExports/OneStepApproval.asp?action=return&request=<%%AutoLoginToken%%>&auth=<%%AutoLoginAuth%%>" target="_blank">Reject</a>
</td>
</tr>
</table>
<br>
To see the full details of this order, click on the attached HTML page.<br> <br>
</body>
</html>
Note the double percent signs around the AutoLoginToken and AutoLoginAuth keywords. Secondly, the only option to vary the two URLs is the substitution of https for http.
The email received by the approver contains an extra attachment displaying details of the change order. The order detail page is necessary, as the approver will not be entering PECOS P2P to undertake the approval. Clicking on the attachment will open the purchase order summary page for the order to be reviewed.
Various errors can occur during One Step approval which will be displayed to the approver. The messages and their meaning are:
All email systems allow users to forward email messages to other users either manually or via automated rules. One click approval cannot validate the originator’s identity (ie based on the originator’s mailbox or third party email system) and therefore it is important that one click approval emails are never forwarded to unauthorised personnel either internally or externally to your organisation. If there is a risk of unauthorised approval email forwarding, it is advisable to either exercise caution when utilising the one step approval feature or utilise the dynamic option explained below.
Dynamic Option
A dynamic option is available to enhance security for one step approval called ‘One Step Approval login’. Two options are available: ‘Automatic Login’ and ‘Force login’. When ‘Force Login’ is selected, when the approve or reject buttons are clicked in the one step approval eMail, the PECOS P2P login window will appear in a pop up window. The approver is required to enter their user id and password credentials to validate their identity (see ‘Dynamic Options’ for more information).
Navigation
P2P Admin