When a job meets the trigger criteria or when it is triggered on demand through a Web service call, an instance of that job starts running. The outcome of the job instance, its transition from one status to another, and other execution details are logged by FlowForce Server. You can get information about job execution and its outcome at two levels:
1.From the Home page. The Home page provides a quick overview of the following data related to job execution: Statistics, Recent and running jobs, Active triggers and services.
The rest of this topic describes the job monitoring data available in the Home page.
The "Statistics" section of the Home page displays the following charts:
•Executed jobs in last 14 days
•Executed jobs in last 24 hours
•Executed jobs in last 60 minutes
Each of the charts contains bars colored according to the job execution result: success, failure, other.
When you move the mouse over a specific bar on a chart, a tooltip appears with detailed info covering the respective time period. For example, in the chart below, the tooltip indicates that 3 job instances executed successfully in the minute 10:12.
Likewise, the tooltip below indicates that there were 5 successful executions and 2 executions with unknown outcome in the 10th hour of the day:
To investigate a particular piece of information on a chart in more detail, you can easily navigate directly from the chart to the log view page. To do this, click the bar of interest in any of the charts. This displays the log page, with the log pre-filtered for the given minute, hour, or day.
|Note:||There may be slight, negligible discrepancies between the statistics displayed on charts and the exact log details as tracked by the FlowForce log.|
The Show more statistics link opens the Statistics Detail page, which is dedicated exclusively to statistics.
In the "Recent and Running Jobs" section, you can view the status of the most recent and running jobs (up to 20). To view all recent and running jobs in a separate page, click Show all active triggers and services.
The grid displays not only the running jobs but also any recently finished jobs, including jobs that failed for whatever reason. Such jobs are displayed only for a short time (approximately 1-2 minutes) after their execution finished. You can always check the full history of each job instance from the Log page, see Viewing the Job Log.
The grid of recent and running jobs contains the following columns:
•Instance ID. When it starts, each job instance is assigned a unique ID that is displayed in the Instance ID column. The instance ID helps you subsequently track the execution status of each job instance, from the Log page. You can click the instance ID inside the grid as the job is running—this redirects you to the Log page where you can view only the details pertaining to the selected job instance. If you would like to use to the job's instance ID in a job (for example, to create unique file names), this is possible with the help of the instance-id expression function.
•Job. This column indicates the path where you can find the configuration of this job instance.
•Activation Time. The date and time when the job instance started running.
•Last Action. The date and time of the last execution status.
•Status. The job status as it was when the page was last refreshed. For reference to all the job instance statuses, see Job Statuses.
The Stop job button is displayed only for running jobs. It enables you to stop running job instances. Note, however, that this may cause data corruption and should be done only exceptionally, see also Stopping Jobs.
If multiple FlowForce Server instances run as a cluster, the grid includes additional details about the cluster members running each job instance, see Monitoring Execution of Distributed Jobs.
The "Recent and running jobs" grid is not refreshed automatically. To get the latest status of all jobs, click the Reload Grid button.
The "Active Timers" section of the page displays up to 20 of the most recent jobs scheduled to run via triggers or as Web services. To view the full list of such jobs, click Show all active triggers and services.
The grid of active triggers and services has the following columns:
•Type - Indicates the type of the trigger (watch, timer, service). The label "watch" refers to either a file system trigger or an HTTP trigger, see the "Info" column for additional details.
•Job - Specifies the path of the job where the trigger or the service is defined. Click the link to open the job's configuration page.
•Next run - Applicable only for watch triggers. This column indicates when the trigger will run next.
•Info - Provides additional information, such as the URL of the Web service, in case of jobs exposed as Web services. For watch or timer triggers, this column summarizes the current configuration of the trigger.
•Service URL - Specifies the URL where the Web service exposed by the respective job is accessible. This is applicable only to jobs expose Web services.
The "Active Triggers and Services" grid is not refreshed automatically. Click the Reload Grid button to refresh the page.