Skip to end of metadata
Go to start of metadata

This workflow is one of several that are intended to be executed by a human, rather than by by an automated process within results though.  This workflow takes an input document, presents  a set of instructions to the person assigned to the task, and depending upon which of 3 disposition buttons the individual selects, the processor will move the  updated document to the next step  in the workflow process, defer disposition until later, or discard the document entirely.

The instructions presented to the user are completely customizable via a combination of HTML and FTL (freemarker template language).  FTL provides a number of functions that can be used to insert variables such as  the link to the input document, document properties, Persona properties and several other things. 

Shown here are the functions that can be used, followed by a couple simple examples of processor instructions. 


<#assign doc = workflowItems[0] />

Assign the variable to the input document for use in the functions below.


link to parent folder = ${genFolderLink(doc.parent)}

Return a clickable link to the parent folder where the document is stored.


doc name = ${doc.properties["cm:name"]}

doc title = ${doc.properties["cm:title"]}

doc display path = ${doc.displayPath}

Return the document name, title, and full path respectively.


target folder name = ${taskProperties["lmwf:targetFolder"].properties["cm:name"]}

target folder path = ${taskProperties["lmwf:targetFolder"].displayPath}

Return the name and full path for the output folder for this processor task.


link to view doc = <@linkToView doc/>

link to edit doc = <@linkToEdit doc/>

Create clickable links to view (read only) or edit the input document.


feed item url = ${doc.properties["lm:feedItemUrl"]}

feed folder = ${doc.properties["lm:feedFolder"]}

feed url = ${doc.properties["lm:feedUrl"]}

Return the feed properties for the input document.


persona name = ${persona.properties["cm:title"]}

persona style = ${persona.properties["lm:personaStyle"]}

personal tone = ${persona.properties["lm:personaTone"]}

persona viewpoint = ${persona.properties["lm:personaViewpoint"]}

Return Persona properties.


EXAMPLE PROCESSOR:   Add an Image to a document

<div style="font-weight:bold;">Add a relevant image to the following document</div>
<div>
<ol>
<li>Review the input document  (<@linkToEdit workflowItems[0]/>)</li>
<li>Open <a target="_blank" href="http://images.google.com">Google Images</a></li>
<li>Show only images we are allowed to reuse and select an image appropriate to the document</li>
<li>Click "visit" to go to the page where the image is posted</li>
<li>Right click the image and select "copy image address"</li>
<li>Paste the URL at the end of the document, press save, and "keep".</li>
</ol>
<p>If for any reason you cannot complete this task, select "discard".</p>
</div>



  • No labels