1.

How can the existing pipeline be preserved before the restorePipeline step?

Answer»

Pipelines are STORED in memory using the pub.flow:savePipeline service, and can be retrieved later with the pub.flow:restorePipeline service. There is an INPUT parameter in restorePipeline called $merge that indicates whether the values in the existing pipeline should be merged with those in the saved pipeline. You can set $merge to "true" or "false".

  • False: $merge is set to false to CLEAR existing pipelines before restoring saved pipelines. By default, it is set to false.
  • True: When $merge is set to true, the existing pipeline will be merged with the saved pipeline. When a field APPEARS in both the saved pipeline and the existing pipeline, the saved field prevails.

You can preserve the existing pipeline by setting the "$merge" variable in restorePipeline to true. In this way, everything in the pipeline is preserved before the restorePipeline step.



Discussion

No Comment Found