Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Emakin performs most of heavy operations in background to archive scalable and high performance output. These background operations are executed by emakin service agent without any user interaction.

When a new process started by user, workflow state is recorded in database without any further processing and creates couple of background jobs. Service agents pulls the jobs from queue and try to process in background. If a error occurred while processing job, transaction state is roll backed and error state is reported to the system administrators. When administrator resolves the issue, job re-queued in system from job manager to process again. Some of errors are automatically recovered by system and queued again with time delay.

 Image Added

Service agents uses multiple threads and also can be deployed to any number of hardware instances to perform parallel execution. Jobs are executed in order of priority and a single service agent can complete 600 job per minute for basic workflow operations. This number is highly depends on job definition and hardware specifications.


Job Definitions

Workflow Jobs

Scheduled Task

Time based generic job. This job usually create another jobs if any action required.

Task Evaluation

Created when initiate type workflow task scheduled to start periodically. Created by Scheduled Task for per task definition. You can find more detail in Task Evaluation section. 

Work Item Evaluation

Created when normal type workflow task scheduled to check periodically. Created by Scheduled Task for per work item instance. You can find more detail in Task Evaluation section.

Work Item Processing

Created when a user or system complete a work item. This job advances to next step in workflow and executes the scripts in workflow, calculates the role scripts to assign to task.

Deadlined Work Item

Created when a work item is deadline occurs. This job is similar to "Work Item Processing" job but created when deadline date is missed.

Work Item Reminder

Created when a task reminder need to be sent.

Xml Database Jobs

Form Data Xml Database Replication

Created when workflow data need to be replicate on xml database. This job usually created when a workflow data is modified.

Instance Xml Database Replication

Created when a workflow history is changed and need to be replicate on xml database.

Xml Database Removal

Created when a worfklow data is removed. This job is usually created on process version is deleted from system.

Full Text Indexing Jobs

Work Item Full Text Indexing

Created when a workflow data is modified and updates the full text catalog.

Document Full Text Indexing

Created when a document content is modified and updates the full text catalog.

Full Text Removal

Created when a previously added document is removed from full text catalog.

Domain Jobs

E-Mail Message Send

Created when a email message is sent. Email content may be automatically generated from workflow templates or scripting environment.

Domain Upgrade

Created periodically to upgrade installed processes from market store.

Domain Deletion

Created when a domain is expired and no longer active.

Default Job Configuration

Emakin uses following default configuration to manage job queue.

NameInternal NamePriority

Delete After (days)
(No) 

Retry Duration (min)
(No) 
Max Retry
(No) 
Max Retry Result
(Abort) 
Error Result
(Error) 
Alert Error
(True) 
Alert Abort
(False) 

Scheduled Task

Workflow.ScheduledTaskHigh90      
Task EvaluationWorkflow.Task.EvaluateHigh180      
Work Item EvaluationWorkflow.WorkItem.EvaluateHigh1801020    
Work Item ProcessingWorkflow.WorkItem.ProcessHigh1801020Error  True
Deadlined Work ItemWorkflow.WorkItem.DeadlineHigh1801020   True
Work Item ReminderWorkflow.WorkItem.ReminderHigh60      
Form Data Xml Database ReplicationWorkflow.FormData.XmlDatabaseNormal2 10    
Instance Xml Database ReplicationWorkflow.Instance.XmlDatabaseNormal2 10    
Xml Database RemovalWorkflow.FormData.XmlDatabaseRemoverNormal2 10    
Work Item Full Text IndexingWorkflow.WorkItem.FullTextLow2 10    
Document Full Text IndexingWorkflow.Document.FullTextLow2 20    
Full Text RemovalWorkflow.FullText.RemoverLow2 10    
E-Mail Message SendWorkflow.Message.SendLow90 10  FalseFalse
Domain UpgradeWorkflow.Domain.UpgradeLow180     True
Domain DeletionWorkflow.Domain.DeleteLow