05-01-2012 09:11 AM
05-01-2012 09:45 AM
05-02-2012 12:10 AM
05-05-2012 11:37 PM
In explorer,
You can get completed workflows by adding "My Completed Tasks (List of your completed tasks)" in your dashboard with the use of "Configure Dashboard Wizard".
05-06-2012 11:07 PM
05-06-2012 11:24 PM
05-07-2012 02:47 AM
<webscript>
<shortname>Testing Workflow</shortname>
<description>Testing Workflow Listing</description>
<url>/workflow/sma</url>
<format default="html">extension</format>
<authentication>user</authentication>
</webscript>
function main()
{
model.assignedTasks=workflow.getAssignedTasks();
model.completedTasks=workflow.getCompletedTasks();
model.definitions=workflow.getAllDefinitions();
}
main();
<h1>SMA_Task</h1>
<h3>Tasks of user <u>${person.properties.userName}</u></h3>
<h2>Assigned Task </h2>
<table cellspacing=0 cellpadding=2>
<tr>
<th>Name</th>
<th>Description</th>
<th>Created Date</th>
<th>Start Date</th>
<th>Due Date</th>
<th>Priority</th>
<th>% Complete</th>
<th>Status</th>
</tr>
<#list assignedTasks as t>
<tr>
<td>${t.name}</td>
<td>${t.description}</td>
<td>${t.properties["cm:created"]?datetime}</td>
<td><#if t.properties["bpm:startDate"]?exists>${t.properties["bpm:startDate"]?datetime}<#else><i>None</i></#if></td>
<td><#if t.properties["bpm:dueDate"]?exists>${t.properties["bpm:dueDate"]?datetime}<#else><i>None</i></#if></td>
<td>${t.properties["bpm:priority"]}</td>
<td>${t.properties["bpm:percentComplete"]}</td>
<td>${t.properties["bpm:status"]}</td>
</tr>
</#list>
</table>
<h2>Completed Task </h2>
<table cellspacing=0 cellpadding=2>
<tr>
<th>Name</th>
<th>Description</th>
<th>Created Date</th>
<th>Start Date</th>
<th>Due Date</th>
<th>Priority</th>
<th>% Complete</th>
<th>Status</th>
</tr>
<#list completedTasks as t>
<tr>
<td>${t.name}</td>
<td>${t.description}</td>
<td>${t.properties["cm:created"]?datetime}</td>
<td><#if t.properties["bpm:startDate"]?exists>${t.properties["bpm:startDate"]?datetime}<#else><i>None</i></#if></td>
<td><#if t.properties["bpm:dueDate"]?exists>${t.properties["bpm:dueDate"]?datetime}<#else><i>None</i></#if></td>
<td>${t.properties["bpm:priority"]}</td>
<td>${t.properties["bpm:percentComplete"]}</td>
<td>${t.properties["bpm:status"]}</td>
</tr>
</#list>
</table>
<h2>All Workflow Definitions</h2>
<table cellspacing=0 cellpadding=2>
<tr>
<th>Id</th>
<th>Name</th>
<th>Description</th>
<th>Title</th>
<th>Version</th>
</tr>
<#list definitions as c>
<tr>
<td>${c.id}</td>
<td>${c.name}</td>
<td>${c.description}</td>
<td>${c.title}</td>
<td>${c.version}</td>
</tr>
</#list>
</table>
07-29-2014 02:56 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.