How parameter contexts are handled when you paste a processor or process group in NiFi:
- The UI paste action starts in the frontend, notably in files like
nifi-frontend/src/main/frontend/apps/nifi/src/app/pages/flow-designer/service/copy-paste.service.tsandflow.effects.ts. - The actual merge and conflict logic for parameter contexts is handled on the backend, specifically in Java classes like
ParameterContextReplacer.javaand theProcessGroupResourceREST endpoint.
Based on the code and documentation: