A business flow is executed as a distinct sequence of flow steps. Each flow step executes a specific action within a flow. For example, the Load step loads data from the source application.
The flow step sequence of a business flow can be modified by adding additional custom steps to the sequence. Primavera Gateway allows you to create custom steps through various methods. This section describes the flow step sequence used in each type of business flow.
The following types of flow steps are used in any Gateway business flow:
- Load
This step loads the source data and passes it on to the next step.
- Convert
This step converts the source data to the Gateway data structure and the destination data structure.
- Compare
This step compares the source and destination data and identifies changed, deleted, and added objects so that the system can synchronize the data efficiently.
To ensure that the data follows the same structure when it is compared, both the source and the destination data must be converted to the Gateway format before it can be compared. When identifying objects that are deleted in the source data, the compare step uses the cross reference table to determine whether the data has been synchronized in the past, the presence of the data in the cross reference table indicates that the data has been synchronized in the past. During the Compare step, the system marks objects that have been deleted in the source data for deletion in the destination system only if the record is in the cross reference table and a delete parameter is associated with the flow.
This step compares the source and destination data and identifies the delta or differences for the next step.
- Review
(Optional) This step enables you to review the source data before updating the data in the destination application.
- Update
This step saves the data into the destination system.
- (Optional) External Custom Step
This step loads the external custom step if defined for a data flow specific to an integration. The external custom step can be added anywhere in the above flow sequence.