Loading...
Loading...
Salesforce Industries DataPack deployment automation using Vlocity Build. TRIGGER when: user deploys or validates OmniStudio/Vlocity DataPacks with vlocity commands (packDeploy/packRetry/packExport/packGetDiffs), sets up DataPack CI/CD pipelines, or troubleshoots DataPack migration errors. DO NOT TRIGGER when: deploying Salesforce metadata with sf project deploy (use sf-deploy), authoring OmniStudio artifacts (use sf-industry-commoncore-*), or writing Apex/LWC business logic (use sf-apex/sf-lwc).
npx skill4agent add jaganpro/sf-skills sf-vlocity-build-deploysf-vlocity-build-deployvlocity packDeploypackRetrypackContinuepackExportpackGetDiffsvalidateLocalDataprojectPathexpansionPathmanifestqueriessf project deploysf-industry-commoncore-*vlocitysf project deploy-sfdx.username <alias>validateLocalDatapackGetDiffspackDeploypackRetry-key%vlocity_namespace%vlocity_cmtvlocity help
sf org list
sf org display --target-org <alias> --json
test -f <job-file>.yamlnpm install --global vlocity
vlocity helpvlocity -sfdx.username <source-alias> -job <job-file>.yaml validateLocalData--fixLocalGlobalKeysvlocity -sfdx.username <source-alias> -job <job-file>.yaml packExport
vlocity -sfdx.username <source-alias> -job <job-file>.yaml packRetryvlocity -sfdx.username <target-alias> -job <job-file>.yaml packDeploy
vlocity -sfdx.username <target-alias> -job <job-file>.yaml packRetryvlocity -sfdx.username <target-alias> -job <job-file>.yaml packContinuevlocity -sfdx.username <target-alias> -job <job-file>.yaml packGetDiffs| Error / symptom | Likely cause | Default fix direction |
|---|---|---|
| missing dependency in target org | include missing DataPack key and redeploy |
| duplicate records in target | clean duplicates and re-run deploy |
| source duplicate matching-key records | remove duplicates in source and re-export |
| outdated DataPack settings | run |
| settings mismatch / partial dependency state | refresh settings both orgs, then retry |
| SASS / template compile failures | missing referenced UI template assets | export/deploy referenced template dependencies first |
sf org login ...validateLocalDatapackExportpackDeploypackRetrypackGetDiffsgitCheck: truegitCheckKey: <folder>manifest| Need | Delegate to | Reason |
|---|---|---|
| metadata deploy outside DataPacks | sf-deploy | Metadata API workflows |
| OmniStudio component authoring | | build artifacts before deploy |
| EPC product and offer payload authoring | sf-industry-cme-epc-model | Product2/DataPack model quality |
| Apex trigger/log error diagnosis | sf-debug, sf-apex | automation-side root-cause fixes |
DataPack goal: <export / deploy / retry / diff / ci-cd>
Source org: <alias or N/A>
Target org: <alias or N/A>
Scope: <job file + manifest/key/full>
Result: <passed / failed / partial>
Key findings: <errors, dependencies, retries, diffs>
Next step: <safe follow-up action>