Migrate to FME
Migrate from Harness Feature Flags (FF) to Feature Management and Experimentation (FME), including the migration script, SDK changes, and rollout steps
Harness Feature Management and Experimentation (FME) is the next-generation feature flagging platform and replaces the legacy Feature Flags (FF) module. FME is built on the Split platform and offers a more mature, reliable, and capable experience.
This guide walks you through the migration from FF to FME. To explore FME before you start, go to Get started with FME or Start FME in Harness. The guide covers understanding the differences, running the migration script, and validating your integration.
Why move from FF to FME
FF SDKs are no longer actively updated or maintained.
FME SDKs receive regular releases with new features, bug fixes, and expanded language support.
FF has experienced recurring incidents and degradations.
FME unlocks advanced experimentation capabilities: A/B testing, metric tracking, and release monitoring.
FME is fully integrated into Harness pipelines, OPA policies, and RBAC.
FME includes Harness University self-paced training and certifications.
Key differences between FF and FME
SDK maintenance
No longer updated
Actively maintained, regular releases. Go to the SDK versioning policy.
SDK syntax
Uses targets with attributes inline
Uses the Split namespace. Attributes are separate from targets.
Targeting model
Target groups
Segments (Standard, Rule-Based, Large). Top-down evaluation. Go to Define feature flag treatments and targeting.
Flag evaluation
Remote API calls
Local in-memory evaluation, with rules served by a dual-layer CDN (Fastly). Under 200 ms globally.
Streaming
Known issues with mobile and app suspend/resume
Streaming with automatic fallback to polling, fully managed by the SDK
Personas and RBAC
Full RBAC. Product teams can be granted appropriate access.
Full RBAC. Product teams can be granted appropriate access.
Proxy required
Yes, for HA and global use
No. Rules are served through the Fastly CDN. The Split Proxy and Synchronizer are optional infrastructure for private-network or single-egress-point setups.
Flag types
Boolean, Multivariate, JSON, and more
Treatments are string-based. JSON payloads are supported through dynamic configuration.
How the FME SDK works
Understanding the FME SDK architecture helps you plan your integration. Go to SDKs and customer-deployed components for details, and Remote vs local evaluation to choose the right client-side SDK.
Local evaluation: The SDK downloads the full flag rule set at startup and evaluates flags in memory. There is no API round trip per flag evaluation.
CDN-served rules: Flag definitions are served from a dual-layer CDN (Fastly) with global points of presence, delivering flags in under 200 ms worldwide. No proxy is needed in standard deployments.
Streaming updates: The SDK opens a streaming connection to receive real-time flag changes. It falls back to polling automatically if streaming is unavailable.
Polling fallback: Managed by the SDK with exponential back-off, and no code changes are required. Polling frequency is configurable.
Common questions
Choose a migration approach
Choose the approach that best fits your organization's risk tolerance and flag inventory.
Run FF and FME simultaneously and migrate flags incrementally. Typically you start with long-term or permanent flags and let short-lived flags retire on FF.
Pros: Lower risk, gradual validation, and support for app versions still on FF.
Cons: Dual-SDK overhead during the transition.
Best for: Organizations with multiple platforms, or mobile apps with staggered version rollouts.
For example, new architecture moves to FME while older app versions remain on FF until they are force-upgraded.
Migrate all flags at once using the migration script.
Pros: Clean cutover, no dual-SDK overhead.
Cons: Higher risk, and extensive testing is required upfront.
Best for: Organizations with smaller flag counts and good flag hygiene.
Migrate only the flags you still need. Dormant and archived flags stay on FF.
Best for: Organizations that want a cleaner flag inventory after migration.
Migration steps
Step 0: Gather requirements
Before you start, document the following for your environment.
SDK languages
Which languages and platforms are in use? Backend or client-side? Any mobile (iOS or Android)?
Flag inventory
How many flags? Any archived? Are you cleaning up before migration? Boolean only or other types?
Streaming
Is streaming required? Do you have proxy infrastructure? Any history of streaming issues with FF?
Target groups and segments
How many target groups? Rule-based or static? How are users identified (user ID, attributes)?
Personas and RBAC
Who needs access, engineers only or product teams as well? What granularity is needed (create, update, delete)?
Environments
How many environments? What naming conventions? Do you use local dev flag overrides?
Pipelines
Are you using Harness CD pipelines? Do you want to gate deployments on flag changes?
Experimentation
Are A/B testing or metrics of interest? Who in the org would drive this?
Performance SLA
What is an acceptable SDK init time? Are you monitoring it today?
App versions on FF
Do you have older app versions that cannot be force-upgraded? Is parallel running needed?
Step 1: Obtain the migration script
Harness maintains a migration script that creates FME copies of your FF flags and preserves targeting rules.
To obtain the script, contact your Customer Success Manager. The script is distributed as a secure download and is not publicly available. Your CSM coordinates delivery through the support team.
Before you run the script, you need a Harness Service Account API key or token. Harness is moving Admin API key management from the legacy Split Admin API to Harness Service Accounts, so use a Service Account token to authenticate the migration script. Go to API keys for setup steps.
Step 2: Set up your FME account
Before you run the script or integrate the SDK, confirm the following:
FME account access is provisioned in your Harness organization. Go to Start FME in Harness.
RBAC groups and permissions are configured for your team structure. Go to Groups, Permissions, and Projects.
Step 3: Integrate the FME SDK
Replace your FF SDK with the FME SDK. The FME SDK uses the Split namespace. The versions below were current when this guide was written, so check the SDK guide for your language for the latest version.
For the full list of supported SDKs and installation instructions, go to SDKs and customer-deployed components. Language guides include Java, Node.js, Python, Go, .NET, iOS, Android, JavaScript. Go to Validate your SDK setup to confirm the install.
Initialize the FME SDK with your API key from the FME workspace:
Key differences from FF:
Attributes are passed separately at evaluation time, not stored on the target object.
Flag evaluation is synchronous after the
SDK_READYevent fires.
Run FF and FME side by side
If you use the parallel running approach, both SDKs can coexist in the same application. Initialize each independently with its own API key, and route flag evaluations to FF or FME based on which system owns each flag during the transition.
This is the recommended approach for teams with mobile apps or multiple platforms where you cannot update all surfaces at once.
Step 4: Map target groups to segments
FF uses target groups and FME uses segments. The concepts are similar but the implementation differs.
FME segment types (go to Create a segment and Target segments):
Standard segments: A static list of user IDs, or attribute-matched rules.
Rule-Based segments: Dynamic membership based on attribute conditions, equivalent to rule-based target groups in FF.
Large segments: Designed for very large static lists (millions of members).
FME evaluates targeting rules in this order: individual targets, then attribute-based rules (top to bottom), then percentage rollout rules, then the default rule. Review the order of your targeting rules after migration to confirm priority is correct. Go to Targeting.
Step 5: Validate with a no-op flag
Before you migrate production traffic, validate your FME integration with a dedicated test flag.
Create a flag in FME with two treatments: on and off. Go to Create a feature flag.
Set the default rule to serve off to 100% of traffic.
Integrate the FME SDK in your application and call getTreatment for this flag.
Confirm the SDK initializes correctly and returns the expected treatment.
This validates SDK connectivity, API key configuration, and your targeting setup without any user-facing impact.
Step 6: Migrate flags using the script
With your FME account set up and the SDK validated, run the migration script to create FME copies of your FF flags.
Before you run the script:
Confirm segment names are ready in FME.
Decide which flags to migrate (all active flags, or a selection).
Identify flags to exclude, such as archived or deprecated flags.
After you run the script:
Verify all migrated flags appear correctly in the FME UI.
Check that targeting rules are preserved accurately.
Verify segment assignments are correct and case-matched.
The script migrates flag definitions and basic targeting rules. RBAC and SDK integration must be handled separately.
Step 7: Roll out progressively
Once flags are migrated and your SDK is integrated, begin routing traffic to FME. For a percentage-based rollout in the FME UI:
Navigate to your flag in FME.
Select the environment you are rolling out to.
Under the default rule, set the percentage allocation across treatments. Go to Create a rollout plan. For example, on: 10% and off: 90% starts a 10% rollout.
Click Save changes. The change takes effect within seconds through the CDN push.
Increase the percentage incrementally as you gain confidence.
FME also supports percentage rollouts through Harness pipelines, so you can automate progressive rollouts with wait steps, approvals, and metric checks. Go to Pipelines and Approval flows.
Step 8: Monitor and validate
Monitor the following during rollout:
SDK initialization time: The FME CDN targets under 200 ms globally. Use the SDK ready timeout event to alert if your application sees materially slower startup.
Streaming versus polling: If your environment proxies traffic, confirm polling-only mode is active. Streaming is more brittle through proxies.
Flag evaluation correctness: Spot-check that targeting rules return the expected treatments for known test users. Go to Viewing user treatments, Impressions, and Live tail.
getTreatmentWithConfigresponses: If you use JSON dynamic configs, validate that the config payload is returned correctly on every platform you support.
Step 9: Retire FF flags
Once a platform or application version is fully validated on FME:
Stop calling the FF SDK for flags that have been migrated.
Archive the corresponding flags in FF.
Remove the FF SDK dependency once all flags are retired.
Track removal of FME flags once the underlying feature is permanently on. Use Harness pipelines or Jira to track flag cleanup. Go to Manage the feature flag lifecycle, Automated feature flag cleanup, Archive a feature flag, and Jira Cloud.
Migrate long-term flags, such as kill switches and permanent toggles, early. Short-lived flags in active development can often retire on FF without migration.
Known technical considerations
Segment name case sensitivity
FME segment names are case-sensitive and must start with a letter. A mismatch silently causes targeting rules not to match, so verify all names exactly.
Streaming through proxies
Use polling-only mode if your network proxies traffic.
Experimentation and measurement
Once your team runs flags on FME, you can enable experimentation to measure the impact of your features.
Define metrics in FME that correspond to outcomes you care about, such as conversion rates, error rates, and latency. You also need to send event data.
Attach metrics to your flags as guardrail metrics or primary metrics.
Run an A/B test by setting your flag to a 50/50 split between two treatments.
FME calculates statistical significance and shows results in the Metrics Impact view.
Native significance alerting must be enabled at the account level. Ask your CSM if you don't see Alerts setup under a flag's gear icon. Alerts fire only in production environments and require a minimum sample size per treatment (200 enforced minimum, 355 recommended). Alert recipients are limited to the flag owner and can't currently be customized. Use a metric alert policy or webhook integration if you need broader routing.
Harness University offers free self-paced training and certifications for FME.
FAQ
Last updated
Was this helpful?