Customizing your Foundry Rules pipeline is an advanced feature intended for experienced Foundry pipeline authors. This customization can result in increased implementation and maintenance burden for workflow administrators.
Foundry Rules does not require users to write any pipeline logic out of the box. However, some use cases warrant customizing the Foundry Rules pipeline in order to achieve an outcome that is otherwise not possible.
Customizing your Foundry Rules pipeline can provide a number of potential benefits, including:
Post-processing of Foundry Rules outputs (such as adding columns) can be achieved with a dedicated downstream transform. We do not recommend customizing the Foundry Rules pipeline solely for post-processing of Foundry Rules outputs.
Custom pipelines are currently not supported for streaming workflows.
You can deploy your own custom Foundry Rules pipeline by enabling self-managed transforms, choosing a custom transform repository, saving the Foundry Rules workflow, and then generating and saving the Foundry Rules pipeline code to the selected repository. To do so, follow the instructions below:
Click on the gear icon to open the advanced settings menu.
Enable the Enable self-managed transforms option.
Click on Use a custom transform repository in the Transforms Configuration section. You can either Deploy a new repository (recommended) or choose Select existing depository to find and select your chosen repository.
Save your Foundry Rules workflow.
Generate and copy your Foundry Rules pipeline code by clicking Generate, and then clicking copy.
If you previously chose an existing repository, create a file named FoundryRulesTransform
that lives inside the rules.transforms
directory and paste the copied code in. If a newly deployed repository was chosen in step 3, find “FoundryRulesTransform” and paste in the code.