You are here:
Schedule a Data Pipeline
Set how often a data pipeline runs and how each run updates your event log, so that your analysis reflects the latest data without manual effort.
Required Editions
| Available in: |
| Available in: |
| User Permissions Needed | |
|---|---|
| To schedule a data pipeline: | |
Build a pipeline before you schedule it. See Create a Data Pipeline.
You schedule a pipeline from the Load step. The schedule controls when the pipeline runs and how each run adds data to your event log. Scheduled pipelines appear on the Manage pipelines page.
-
In the Load step, click Schedule pipeline.
The Schedule data pipeline window opens.
- Enter a pipeline name, and click the calendar icon to set a start date.
-
For Frequency, select how often the pipeline runs—hourly, daily,
weekly, or monthly—and set the run time.
To run the pipeline once now in addition to the schedule, select Run pipeline now in addition to the scheduled time. For a pipeline that ingests micro-batches from an Amazon S3 folder, match the frequency to how often new files arrive.
-
Select a loading strategy.
- Generate a new log every time the pipeline is executed creates a new log on each run without overwriting earlier logs.
- Always append data to the same log adds new rows to the existing log. To keep only recent data, set a data range to retain so that Apromore discards data older than that range. For example, if you select one month, Apromore discards data older than one month from the previous dataset. If you delete the log from previous runs, Apromore creates a new log on the next run.
- Overwrite the log everytime the pipeline is executed replaces the existing log on each run.
For an append or overwrite strategy, to prevent a run from failing when the schema changes, select Create new log when the schema is altered.
-
To combine rows that match on the default attributes, select Merge rows that
have identical values on the default attributes.
This option applies to any loading strategy. The default attributes are Case ID, Activity, End timestamp, and, when present, Start timestamp, Resource, and Role. Apromore merges each group of matching rows into one row, keeping the last value for an event attribute and the smallest non-null value for a case attribute.
- Enter a log name, specify its path, and then click Schedule.
Suppose case INC004 has three Review Document rows and three Approve Payment rows, where each group shares the same Case ID, Activity, and End timestamp but differs in its Document state and Approval result values. When you select Merge rows that have identical values on the default attributes, Apromore collapses each group into a single row—one Review Document row and one Approve Payment row—keeping the last value for each event attribute and the smallest non-null value for each case attribute.
The pipeline runs on the schedule you set, and appears on the Manage pipelines page. To manage a scheduled pipeline, see Manage Data Pipelines.
