Creating a URL link to a document that can be sent via email. When the user clicks on the link, it opens the document specified in the link in Web Validation.
Example: Inform the supplier that an invoice has missing information (such as the PO number) via email and provide a link where the supplier can see the invoice and enter the PO number.
The process will require three steps.
An example process is here:

We use the 'TokenForFederatedAccount' webservice to generate the URL. Here the script to create the Token:
var token = straatos.user.tokenForFederatedAccount({LoginName: '<your username>',Password: '<your password>',System: 'myhome',RelativeExpiry: 10}); console.log('TokenForFederatedAccount: ' + token);RejectURL= 'http://admin.cumuluspro.net/?t=' + token;
The TokenForFederatedAccount webservice takes the following parameters:
In the above code snippet, we assing the URL to an indexfield 'RejectURL', so that we can later use this field in the 'Email to Supplier' step to insert the link into the Email.
In this workflow step we are now using the URL created before to embed the link in an email that is sent to the customer.

Here a sample of a HTML body:
<body>
<p>Dear Sir/Madam,</p>
<p>An invoice that we have received from you needs your attention. Please click on the link below to review the invoice and the respective comments/questions.</p>
<p><a href="{RejectURL}">Open the invoice</a></p>
<p>Regards,
<br>The CumulusPro Team</br></p>
</body>
The {RejectURL} will be the URL to click on.