Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

Dimension
FF (Feature Flags)
FME (Feature Management and Experimentation)

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

Experimentation

Not available

Personas and RBAC

Full RBAC. Product teams can be granted appropriate access.

Full RBAC. Product teams can be granted appropriate access.

Pipelines

Yes

Full FME pipeline integration. Also integrates with Harness CD pipelines.

OPA support

Yes

Yes. Go to Policies.

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

Can FF and FME run at the same time?

Yes. Both modules are fully independent within the same Harness account, so your teams can run both during migration.

Do we need a new SDK?

Yes. FME uses a different SDK (Split namespace). Go to Install the FME SDK. Use the migration script together with a wrapper that preserves the same API surface in your application.

What about archived flags in FF?

Archived FF flags do not migrate automatically. You decide whether to bring them over or leave them archived. Common guidance is to migrate only long-term or permanent flags and let deprecated flags retire in FF.

What languages does FME support?

FME supports Java, .NET, Go, JavaScript, Python, Ruby, iOS, Android, React, Node.js, PHP, Flutter, Erlang, and more. Go to SDKs and customer-deployed components for the full list, including client-side SDKs and server-side SDKs.

Will streaming break through a proxy?

Streaming connections are more brittle than HTTP polling when traffic is proxied. If your environment proxies traffic, use polling-only mode. Go to Build a resilient integration and Troubleshooting.

What is an acceptable SDK startup time?

The FME CDN delivers flag definitions in under 200 ms globally. The SDK exposes a ready timeout event you can use to configure thresholds for your application.

Choose a migration approach

Choose the approach that best fits your organization's risk tolerance and flag inventory.

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.

Area
Questions to answer

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:

  1. FME account access is provisioned in your Harness organization. Go to Start FME in Harness.

  2. 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_READY event 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.

1

Create a flag in FME with two treatments: on and off. Go to Create a feature flag.

2

Set the default rule to serve off to 100% of traffic.

3

Integrate the FME SDK in your application and call getTreatment for this flag.

4

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:

1

Navigate to your flag in FME.

2

Select the environment you are rolling out to.

3

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.

4

Click Save changes. The change takes effect within seconds through the CDN push.

5

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.

  • getTreatmentWithConfig responses: 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:

  1. Stop calling the FF SDK for flags that have been migrated.

  2. Archive the corresponding flags in FF.

  3. Remove the FF SDK dependency once all flags are retired.

  4. 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

Issue
Detail

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.

  1. 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.

  2. Attach metrics to your flags as guardrail metrics or primary metrics.

  3. Run an A/B test by setting your flag to a 50/50 split between two treatments.

  4. 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.

For an interactive onboarding experience including further use cases and features like cloud experimentation, go to the Harness Feature Management & Experimentation Cloud Experimentation for Product Managers certification.

FAQ

Does the migration script handle everything?

No. The script migrates flag definitions and basic targeting rules. RBAC and SDK integration must be handled separately.

How long does a migration typically take?

It depends on your environment's complexity: the number of SDK languages, platforms, and environments, and whether you run FF and FME in parallel. Use the Step 0 checklist to scope your timeline, and work with your CSM to plan a schedule for your organization.

Is OPA supported in FME?

Yes.

How do I get the migration script?

Contact your Customer Success Manager or Customer Architect. The script is provided as a secure download.

Last updated

Was this helpful?