Overview
Currently, Tulip Functions (reusable logic components) are workspace-specific and cannot be imported/exported or shared across multiple workspaces within the same Tulip instance. This creates duplication and maintenance challenges for enterprises operating multiple sites under one instance.
Problem Statement
-
No portability: Functions cannot be exported from one workspace and imported into another.
-
Duplication: Teams must recreate the same logic in each workspace, increasing effort and risk of inconsistencies.
-
Enterprise inefficiency: Large organizations need standardized logic (e.g., calculations, validations, connector wrappers) across all sites.
Proposed Enhancement
-
Import/Export Capability
-
Allow exporting a function as a JSON or Tulip-native package.
-
Enable importing into another workspace with dependency checks (variables, connectors).
-
Provide conflict resolution for naming and versioning.
-
-
Cross-Workspace Availability
-
Introduce Global Functions at the instance level:
-
Functions created in one workspace can be marked as Enterprise Functions.
-
Enterprise Functions become read-only or shared across all workspaces.
-
Updates to Enterprise Functions propagate to all linked workspaces with version control.
-
-
Benefits
-
Consistency: Standardize logic across all workspaces.
-
Efficiency: Eliminate duplication and manual recreation.
-
Scalability: Easier rollout of global enhancements.