public class ResultPlugin extends AbstractPlugin
- value
The provided value will be assigned to the named property. The value can also
be evaluated with the tag 'itemValue'
namCreator
WorkflowManager| Modifier and Type | Field and Description |
|---|---|
static String |
INVALID_FORMAT |
INVALID_ITEMVALUE_FORMAT, INVALID_PROPERTYVALUE_FORMAT| Constructor and Description |
|---|
ResultPlugin() |
| Modifier and Type | Method and Description |
|---|---|
static ItemCollection |
evaluateWorkflowResult(ItemCollection activityEntity,
ItemCollection documentContext)
The method evaluates the WorkflowResult and resolves embedded ItemValues
|
static ItemCollection |
evaluateWorkflowResult(ItemCollection activityEntity,
ItemCollection documentContext,
boolean resolveItemValues)
The method evaluates the WorkflowResult for a given activityEntity and
returns a ItemColleciton containing all item definitions.
|
static ItemCollection |
parseItemStructure(String xmlContent)
This method parses the xml content of a item element and returns a new
ItemCollection containing all item values.
|
ItemCollection |
run(ItemCollection documentContext,
ItemCollection adocumentActivity) |
close, formatItemValues, formatItemValues, getCtx, getWorkflowService, init, mergeFieldList, mergeValueList, replaceDynamicValues, uniqueListpublic static final String INVALID_FORMAT
public ItemCollection run(ItemCollection documentContext, ItemCollection adocumentActivity) throws PluginException
PluginExceptionpublic static ItemCollection parseItemStructure(String xmlContent) throws PluginException
1.0.0
1000
10
namTeam
evalItemCollection - PluginExceptionpublic static ItemCollection evaluateWorkflowResult(ItemCollection activityEntity, ItemCollection documentContext, boolean resolveItemValues) throws PluginException
ABC$uniqueid
This example will result in a new item 'somedata' with the $unqiueid
prafixed with 'ABC'activityEntity - documentContext - resolveItemValues - - if true, itemValue tags will be resolved.PluginExceptionparsing-using-regex-in-java.htmlpublic static ItemCollection evaluateWorkflowResult(ItemCollection activityEntity, ItemCollection documentContext) throws PluginException
ABC$uniqueid
This example will result in a new item 'somedata' with the $unqiueid
prafixed with 'ABC'activityEntity - documentContext - PluginExceptionevaluateWorkflowResult(ItemCollection activityEntity, ItemCollection
documentContext,boolean resolveItemValues)Copyright © 2006–2017 Imixs Software Solutions GmbH. All rights reserved.