public class OwnerPlugin extends AbstractPlugin
These attributes defined in Activity Entity are evaluated by the plugin:
WorkflowManager| Modifier and Type | Field and Description |
|---|---|
static String |
OWNER |
INVALID_ITEMVALUE_FORMAT, INVALID_PROPERTYVALUE_FORMAT| Constructor and Description |
|---|
OwnerPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
mergeRoles(List valueList,
List sourceList,
ItemCollection documentContext)
This method merges the role names from a SourceList into a valueList and
removes duplicates.
|
ItemCollection |
run(ItemCollection adocumentContext,
ItemCollection adocumentActivity)
changes the '$owner' item depending to the activityentity or processEntity
|
close, getCtx, getWorkflowService, init, mergeFieldList, uniqueListpublic static final String OWNER
public ItemCollection run(ItemCollection adocumentContext, ItemCollection adocumentActivity) throws PluginException
PluginExceptionpublic void mergeRoles(List valueList, List sourceList, ItemCollection documentContext) throws PluginException
valueList - sourceList - PluginExceptionCopyright © 2006–2020 Imixs Software Solutions GmbH. All rights reserved.