Workflow - Customizing the [ProjectLink]
In versions of Infiniti up to and including 8.6.0.xx, it is possible to use [ProjectLink] when assigning workflow steps.
For example, in the email that gets sent to the assignee, [ProjectLink] would turn into this:
<a href="URLFORWIZARD">PROJECTNAME - STATENAME</a>
Additional control has now been provided over those pieces of text via "parameters" to the [ProjectLink], which can be added by using a | and an =.
The following "parameters" can be used:
ProduceUrl | This will replace the Produce part of the URL (the Guid’s of the project and workflow will still be used appropriately). This will most frequently be used if you happen to have two sites pointing to the same database. Example: [ProjectLink|ProduceUrl=http://hosted.intelledox.com/example/produce/] |
LinkText | This will replace the text of the link (i.e. the PROJECTNAME - STATENAME bit). Example: [ProjectLink|LinkText=Click here to complete this task] |
ProjectName | Name of the project (i.e. ProjectName = NAME) Example: ProjectName=Geoff - 7.1 - Leave Approval - II |
StateName | Name of the state to which the user is to be transferred to as part of this workflow (ie StateName=NAME) Example: StateName=Leave Approval |
LinkUrl | This is an attribute of [ProjectLink] similar to ProduceUrl, but in case of linkurl, the default +projectlink is fully replaced unlike produceurl where only the sitename is replaced but still holds the "wizard/" part. |
WorkflowId | this is an additional parameter available just as [Comments], it will hold the value of the current actionListStateId |
Design email body
<p>[ProjectLink|LinkUrl=http://google.com/|LinkText=Click here to proceed]</p>
<p>WorkflowId</br>[WorkflowId]</p>
Final URL example
<p[[ProjectLink|ProduceUrl=http://<<server>>/Infiniti/Produce/|LinkText=Click here to complete this task|ProjectName=Geoff - 7.1 - Leave Approval - II|StateName=Leave Approval]]</p>
Note:
If Project Name or [StateName] is blank, the hyphen between them will not be added.
If Project Name and [StateName] are blank, or if the LinkText is blank, then only the URL will be returned (not the anchor tags).
Updated about 7 years ago