Skip to content
Back to skills

Omnistudio Lwc Omniscript Migration

ASecurity

Migrate classic Visualforce-based OmniScripts to LWC-based runtime with feature parity and regression testing. NOT for new OmniScript design.

  • 15 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added June 1, 2026
ai-agentsgospringtestingperformance

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned June 1, 2026

npx -y skills add PranavNagrecha/AwesomeSalesforceSkills --skill omnistudio-lwc-omniscript-migration --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Omnistudio Lwc Omniscript Migration?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Omnistudio Lwc Omniscript Migration
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/pranavnagrecha-omnistudio-lwc-omniscript-migration/badge)](https://www.skillsdirectory.com/skills/pranavnagrecha-omnistudio-lwc-omniscript-migration)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: omnistudio-lwc-omniscript-migration
description: "Migrate classic Visualforce-based OmniScripts to LWC-based runtime with feature parity and regression testing. NOT for new OmniScript design."
category: omnistudio
salesforce-version: "Spring '25+"
well-architected-pillars:
  - Operational Excellence
  - Performance
triggers:
  - "omniscript lwc migration"
  - "visualforce omniscript deprecated"
  - "switch omniscript to lwc"
  - "omni run lwc mode"
tags:
  - omnistudio
  - omniscript
  - lwc-migration
inputs:
  - "list of OmniScripts and their activation mode"
  - "custom LWCs embedded in scripts"
outputs:
  - "migration plan + parity matrix + rollout runbook"
dependencies: []
runtime_orphan: true
version: 1.0.0
author: Pranav Nagrecha
updated: 2026-04-28
---

# OmniStudio LWC OmniScript Migration

Salesforce is deprecating the Visualforce OmniScript runtime. Orgs must switch each OmniScript to the LWC runtime via the 'Run OmniScripts in LWC' setting and retest. Third-party templates and embedded custom VFs need replacement LWCs. This skill covers inventory, parity testing, and the rollout sequence.

## Adoption Signals

Any org still using VF-mode OmniScripts; required by the deprecation timeline.

- Pre-migration audit when an OmniScript embeds custom Visualforce in a step or footer template.
- Required when LWC OmniScript runtime parity gaps (e.g., specific Action types) must be evaluated before the cutover.

## Recommended Workflow

1. Inventory OmniScripts via OmniScript object query; note Type, Sub-Type, Active version.
2. Enable 'Run OmniScripts in LWC' at org level; each OmniScript can still opt out temporarily.
3. For each script: activate LWC mode; run QA scenarios; fix any parity gaps (custom VF → LWC rewrite).
4. Update embedded scripts: pages that host OmniScripts via `<c-omniscript>` LWC instead of VF include.
5. Deprecation cutover: disable VF mode globally; remove unused assets.

## Key Considerations

- Some template types (signature pad, legacy chart) need custom LWC rewrite.
- Styles differ subtly in LWC mode; QA designers carefully.
- LWC runtime is faster but strict about async patterns — some VF-only tricks won't port.
- Performance improves 30–60% in our benchmarks.

## Worked Examples (see `references/examples.md`)

- *Phased LWC cutover* — 80 OmniScripts
- *Custom VF replacement* — Signature capture inside script

## Common Gotchas (see `references/gotchas.md`)

- **Style drift** — Colors off after migration.
- **Async timing** — Remote action timing different in LWC.
- **No opt-out left** — Business outage when last VF-only script flips.

## Top LLM Anti-Patterns (full list in `references/llm-anti-patterns.md`)

- Big-bang cutover without QA
- Ignoring deprecation timeline
- Custom VF assets left after migration

## Official Sources Used

- OmniStudio Developer Guide — https://developer.salesforce.com/docs/atlas.en-us.omnistudio_developer.meta/omnistudio_developer/
- OmniStudio for Salesforce — https://help.salesforce.com/s/articleView?id=sf.os_omnistudio_for_salesforce_overview.htm
- OmniScript to LWC OSS — https://developer.salesforce.com/docs/atlas.en-us.omnistudio_developer.meta/omnistudio_developer/os_migrate_from_vf_to_lwc.htm

Files in this skill

  • SKILL.md3.2 KB
  • references/examples.md570 B
  • references/gotchas.md625 B
  • references/llm-anti-patterns.md228 B
  • references/well-architected.md594 B
  • scripts/check_omnistudio_lwc_omniscript_migration.py970 B
  • templates/omnistudio-lwc-omniscript-migration-template.md572 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.