Workflow Options for Collect Mobile

<< Click to Display Table of Contents >>

Navigation:  Collect > Installation and Administration >

Workflow Options for Collect Mobile

The Collect workflow utilizes the File Process agent to process data submissions from Collect Mobile. Processing performance in the Collect workflow can be modified by adjusting the Sleep Seconds and Max Tasks in the general properties of the File Process agent.

 

Administrators may use the Workflow widget to view Enterprise workflow service status and configure the File Process agent. The File Process tab allows the user to view/edit the properties of Enterprise EDP. If configured and enabled, Enterprise EDP will check the EDDs created from the Collect data forms for correctness and either commit the data to the database if no data errors are found, or reject the EDD while notifying the submitter of any data errors.

 

Sleep Seconds – Sets the number of seconds the service will sleep before looking for more work to do.

 

Max Tasks – Sets the maximum number of tasks that the service thread will process before sleeping.

 

Collect Workflow Option Examples:

 

Sleep Seconds = 300, Max Tasks = 1
 
Setting Sleep Seconds and Max Tasks to process 1 file every 5 minutes (300 seconds) would mean that when 8 people out in the field submit Collect data forms at the same time, users would need to wait approximately 45 minutes for all 8 files to process and commit to the database.

 

Sleep Seconds = 90, Max Tasks = 2
 
Setting Sleep Seconds and Max Tasks to process 2 files every 1.5 minutes (90 seconds) would mean that when 8 people out in the field submit data at the same time, users would only need to wait approximately 8 minutes for the files to process and commit to the database.

 

 

Note: Sleep seconds, max tasks and reservation seconds are recommended settings and should be adjusted according to your performance, latency, mail server load, etc. Workflow optimization for Collect should be adjusted according to your workflow, since each database and each EDD are different.