02-26-2012 07:49 AM
02-28-2012 05:39 AM
<config>
<filters>
<filter id="acme-assignee" data="foo" label="link.foo"/>
<filter id="acme-assignee" data="bar" label="link.bar" />
</filters>
</config>
<config>
<max-items>50</max-items>
<filters-parameters>
<!–
Turns the filters form the filter's config files into url parameters by matching the filter id and data against
the filter patterns below. A wildcard ("*") matches any value as long as it exists and isn't empty.
The parameters will later be added to the end of the base repo webscript url used to retrieve the values.
Note that it is possible to create dynamic values by using the following keys inside "{}":
* {id} - resolves to the filter id value
* {data} - resolveds to the filter data value
* {0dt} - resolves to a iso08601 datetime representation of the current date and time
* {0d} - resolves to a iso8601 date respresentation of the current day
* {-7d} - resolves to a iso8601 date respresentation of the current day rolled the given number of days back
* {+7d} - resolves to a iso8601 date respresentation of the current day rolled the given number of days forward
–>
…MAKE SURE TO KEEP ALL THE ORIGINAL FILTERS AND ALSO ADD TRANSLATION FOR YOUR CUSTOM FILTERS….
<filter id="acme-assignee" data="foo" parameters="foo=foo"/>
<filter id="acme-assignee" data="bar" parameters="bar=bar"/>
</filters-parameters>
</config>
02-28-2012 11:06 AM
parameters="state=completed"
String type = workflowInstance.getDefinition().getName();
I'm kind of at a loss there. The function that calls this one iterates through instances ("buildModel") looks like its just preparing a default list of workflows for filtering, then goes through them and uses "matches" to figure out if they belong in the search results. NPE can be caused by workflowInstance being null, which doesnt make much sense to me out of the box, or its definition being null, which makes even less sense. I guess its the workflowInstance that is null then, but why I've no idea. I've completed two processes prior to doing this, so there's data to display (even if there wasnt, I'd be looking at "No workflows", right?). No idea here, will try again tomorrow, but theres not much to do wrong, as in - I've only added like two pretty similar lines to the xml files that feed data to the filter, rest was for it to get displayed where I wanted. Guess theres a concept that I'm not getting there.03-06-2012 01:36 AM
03-15-2012 07:33 AM
05-01-2012 03:38 AM
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.