Description
In the application are three scheduled agents: ScheduleCreateData, ScheduleDeteteData, ScheduleDeleteSettings.
Initially all the agents signed by the user Developers Team/Apps4Notes. Sign their ID of your organization before work beginning.
Enabling and signing the agents can be performed when you create the application replicas using the application setup wizard, which is opening at the first start or by pressing Application \ Setup in the view Settings ( Administering ). For enabling, disabling, signing of an agent as well as for setting up a running server for it anytime, do the steps:
• | Open view Settings; |
• | In the menu select Agents \ Enable ( Disable ) AgentName, where AgentName is a scheduled agent name. |
The current status of a agent you can view in the Settings document of Application ( tab Agents ) in the section named by its name.
Agent ScheduleCreateData
The agent is required for a scheduled reporting on server. Besides creating report data, the agent can perform exporting the data in a file and sending it by e-mail.
The agent must be run in Data Replica. Run settings are: every hour all day.
Before work beginning, sign the agent by ID having enough access level to read the documents in a database which are a data source for a report.
Moreover, if you want to perform the report data exporting on server after reporting, set up enough level of operations performing for the ID by having chosen it in the Server Document on the tab Security in the field Run unrestricted methods and operations.
Only users for which the role SetSchedule is set in ACL can set up a schedule and perform a scheduled reporting on server.
Agent ScheduleDeleteData
The agent is required for deletion of report data created on server by schedule.
The agent must be run in Data Replica. Run settings are: daily, time 00:00.
To view the current status of a agent and set up documents deletion properties you can in the Settings document of Application ( tab Agents ) with the name ScheduleDeleteData.
Agent ScheduleDeleteSettings
The agent is required to delete any documents in the app, but not report data. In the application is deferred documents deletion on server. When a user deletes documents in Local Replica, they only are being marked as deleted ( field Deleted = "1" ) and after replication will be really deleted on server by the agent.
The agent must be run in Settings Replica. Run settings are: dally, time 00:00.
To view the current status of a agent and set up documents deletion properties you can in the Settings document of Application ( tab Agents ) with the name ScheduleDeleteSetting.
Topic links:
Settings document of Application
See also: