The Workflow Conductor Create Item and Create Task widgets provide the ability to store the Item ID for a new item or task created as part of a Workflow Conductor workflow. However, there is no Easy Reference lookup to the complete Item URL for the new item or task like there is for the Current Item's URL.
To provide a link to the new item or task, you can construct the Item URL using a combination of a workflow variable and the Item ID stored by the Create Item or Create Task widget. To do this, you must know in advance the target list or library for the Create Item or Create Task widget.
In the example below, a Create Task widget is used to create a task in a list called Project Tasks. The item ID for the task is stored in a workflow variable called TaskID, created in advance.
A workflow variable has been created to store the URL to an item in the Project Tasks list, minus the actual Item ID:
A Send Email widget is then used to send a link to the new task to the project manager. The link is constructed using a combination of a workflow variable that stores the partial Project Tasks URL and the variable containing the new task's item ID.
The link could also just have been hard-coded into the body of the e-mail with the ItemID variable completing the Item URL, as shown here:
Either way, the constructed link will look like this in the e-mail:
You can also use this method to link directly to the EditForm.aspx page, or to a custom display form. Just replace DispForm.aspx with your target page.
Workflow Conductor 1.5 and higher users can display a friendly name instead of the full URL using a URL reference. For more information about URL references, see the Workflow Conductor online documentation.
Comments
0 comments
Please sign in to leave a comment.