public class DatevImportScheduler extends Object implements org.imixs.workflow.engine.scheduler.Scheduler
The class implements the interface _org.imixs.workflow.engine.scheduler.Scheduler_ and can be used in combination with the Imxis-Workflow Scheduler Service.
SchedulerService| Modifier and Type | Field and Description |
|---|---|
static int |
EVENT_FAILED |
static int |
EVENT_START |
static int |
EVENT_SUCCESS |
static String |
INVOICE_UPDATE |
static String |
ITEM_INITIAL_TASK |
static String |
ITEM_MODEL_VERSION |
static String |
LINK_PROPERTY |
static int |
MAX_COUNT |
| Constructor and Description |
|---|
DatevImportScheduler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
processInvoices(org.imixs.workflow.ItemCollection datevExport,
List<org.imixs.workflow.ItemCollection> invoices,
org.imixs.workflow.ItemCollection event,
org.imixs.workflow.ItemCollection configuration)
This method expects a list of Subprocess definitions.
|
org.imixs.workflow.ItemCollection |
run(org.imixs.workflow.ItemCollection configuration)
This is the method which processes the timeout event depending on the running
timer settings.
|
public static final int MAX_COUNT
public static final int EVENT_START
public static final int EVENT_SUCCESS
public static final int EVENT_FAILED
public static final String INVOICE_UPDATE
public static final String ITEM_MODEL_VERSION
public static final String ITEM_INITIAL_TASK
public static final String LINK_PROPERTY
public org.imixs.workflow.ItemCollection run(org.imixs.workflow.ItemCollection configuration)
throws org.imixs.workflow.engine.scheduler.SchedulerException
run in interface org.imixs.workflow.engine.scheduler.Schedulertimer - org.imixs.workflow.exceptions.QueryExceptionorg.imixs.workflow.engine.scheduler.SchedulerExceptionprotected void processInvoices(org.imixs.workflow.ItemCollection datevExport,
List<org.imixs.workflow.ItemCollection> invoices,
org.imixs.workflow.ItemCollection event,
org.imixs.workflow.ItemCollection configuration)
throws org.imixs.workflow.exceptions.AccessDeniedException,
org.imixs.workflow.exceptions.ProcessingErrorException,
org.imixs.workflow.exceptions.PluginException,
org.imixs.workflow.exceptions.ModelException
The definition is expected in the following format (were regular expressions are allowed)
<item name="invoice_update">
<modelversion>1.0.0</modelversion>
<task>100</task>
<event>20</event>
</item>
datevExport - - datev export workiteminvoices - - list of invoicesevent - - current datev export event containing the invoice_update
definition.org.imixs.workflow.exceptions.AccessDeniedExceptionorg.imixs.workflow.exceptions.ProcessingErrorExceptionorg.imixs.workflow.exceptions.PluginExceptionorg.imixs.workflow.exceptions.ModelExceptionorg.imixs.workflow.engine.plugins.SplitAndJoinPlugin.javaCopyright © 2022 Imixs Software Solutions GmbH. All rights reserved.