Create a Step Using QuickStart
Before you begin
You need:
- Java SE JDK 8
- MarkLogic Server (See Version Compatibility.)
- Chrome or Firefox for QuickStart
About this task
Procedure
- Navigate to the flow definition of the flow you want.
- In QuickStart's navigation bar, click Flows.
- In the Manage Flows table, search for the row containing the flow.
Tip: To make your search easier, you can sort the table by one of the columns.
- Click the flow's name.
- In the flow definition page, click New Step.
- In the New Step dialog, choose the Step Type.
- Ingestion
- Mapping
- Mastering
- Custom
- Configure the step settings.
Expand the Advanced Settings section for additional fields.
Field Description Name The name of the step instance. Description (Optional) A description of the step. Target Database The database where to store the processed data. For ingestion, choose the STAGING database where you want to store the ingested data. Default is data-hub-STAGING
.Additional Target Collections Collection tags to add to the processed records. By default, the processed records are added to the collection with the same name as the step. You can add the records to additional collections by specifying one or more collection tags. - Click to add more collection tags.
- Click next to a collection tag to delete it.
Field Description Name The name of the step instance. Description (Optional) A description of the step. Source Type The filter to use to select the source data to process in this flow. - Collection
- Query
Source Collection (Displayed if Source Type is Collection.) The collection tag to use to search for the records to process in this step. Source Query (Displayed if Source Type is Query.) The CTS query to use to select the source data to process. See CTS Query. Target Entity The entity to map against the source data. Required only if the flow includes a mapping step. Source Database The database from which to take the input data. For mapping, choose the STAGING database where you obtained the data. Default is data-hub-STAGING
.Target Database The database where to store the processed data. For mapping, choose the FINAL database where you want to store mapped data. Default is data-hub-FINAL
.Target Format The format of the processed record: Text, JSON, XML, or Binary. Default is JSON. Additional Target Collections Collection tags to add to the processed records. By default, the processed records are added to the collection with the same name as the step. You can add the records to additional collections by specifying one or more collection tags. - Click to add more collection tags.
- Click next to a collection tag to delete it.
Field Description Name The name of the step instance. Description (Optional) A description of the step. Source Type The filter to use to select the source data to process in this flow. - Collection
- Query
Source Collection (Displayed if Source Type is Collection.) The collection tag to use to search for the records to process in this step. Source Query (Displayed if Source Type is Query.) The CTS query to use to select the source data to process. See CTS Query. Target Entity The entity to map against the source data. Required only if the flow includes a mapping step. Source Database The database from which to take the input data. For mastering, choose the FINAL database where you stored processed data. Default is data-hub-FINAL
.Target Database The database where to store the processed data. For mastering, choose the FINAL database where you want to store mastered data. Default is data-hub-FINAL
.Important: For a mastering step, the source database and the target database must be the same. If duplicates are found, the original records are archived and the merged version is added to the same database. If you want the target database to be different, you can create a custom step with a custom module to override the default behavior of the mastering step.Target Format The format of the processed record: Text, JSON, XML, or Binary. Default is JSON. Additional Target Collections Collection tags to add to the processed records. By default, the processed records are added to the collection with the same name as the step. You can add the records to additional collections by specifying one or more collection tags. - Click to add more collection tags.
- Click next to a collection tag to delete it.
Field Description Name The name of the step instance. Description (Optional) A description of the step. Source Type The filter to use to select the source data to process in this flow. - Collection
- Query
Source Collection (Displayed if Source Type is Collection.) The collection tag to use to search for the records to process in this step. Source Query (Displayed if Source Type is Query.) The CTS query to use to select the source data to process. See CTS Query. Target Entity The entity to map against the source data. Required only if the flow includes a mapping step. Source Database The database from which to take the input data. - For mapping, choose the STAGING database where you obtained the data. Default is
data-hub-STAGING
. - For mastering, choose the FINAL database where you stored processed data. Default is
data-hub-FINAL
.
Target Database The database where to store the processed data. - For ingestion, choose the STAGING database where you want to store the ingested data. Default is
data-hub-STAGING
. - For mapping, choose the FINAL database where you want to store mapped data. Default is
data-hub-FINAL
. - For mastering, choose the FINAL database where you want to store mastered data. Default is
data-hub-FINAL
.
Important: For a mastering step, the source database and the target database must be the same. If duplicates are found, the original records are archived and the merged version is added to the same database. If you want the target database to be different, you can create a custom step with a custom module to override the default behavior of the mastering step.Target Format The format of the processed record: Text, JSON, XML, or Binary. Default is JSON. Additional Target Collections Collection tags to add to the processed records. By default, the processed records are added to the collection with the same name as the step. You can add the records to additional collections by specifying one or more collection tags. - Click to add more collection tags.
- Click next to a collection tag to delete it.
- Click Save.
Results
The new step's summary box is added to the flow sequence in the flow panel at the top.
The step panels show the step details.
What to do next
Configure the step details: