- Question.
-
Can I embed a hyperlink to a [Detail] page in the body of an automated email?
- Answer.
-
By using an insertion variable, it is possible to write the [Detail] page URL of the Case.
The [Throwing Message Intermediate Event (Email)], with which an email is sent automatically, is one of the modelling elements that is frequently used when designing a Workflow App. You can place it on a Workflow diagram in cases where, for example, you want to distribute an email with part of an order’s information inserted at the same time as you confirm the order to a department.
In such a case, if you set the URL including the insertion command;
${var[applicationRoot]}OR/ProcessInstance/view?processInstanceId=#{processInstanceId} (-Ver. 15.0)
${var[applicationRoot]}OR/ProcessInstance/#{processInstanceId}/view (Ver. 15.1-)
in the [Throwing Message Intermediate Event (Email)] email body settings screen
it will be expanded as;
https://example.questetra.net/OR/ProcessInstance/view?processInstanceId=123
https://example.questetra.net/OR/ProcessInstance/123/view
each time a Case arrives.
For smartphone screen, the insertion command is below;
${var[applicationRoot]}SP/OR/ProcessInstance/view?processInstanceId=#{processInstanceId}
${var[applicationRoot]}SP/OR/ProcessInstance/#{processInstanceId}/view
The recipient of the email will be able to access the detail page of the Case with one click.
Reference: M224: Auto Sending of Email with Business data Inserted
