Tuesday, May 26, 2026

How to Restrict File Upload to a Single File in OmniScript (Salesforce OmniStudio)


When working with OmniScript in Salesforce OmniStudio, file uploads are a common requirement—whether it’s for document submission, verification, or case processing. However, one limitation many developers encounter is restricting users to upload only one file.

Add Formula Field to count the number of Files Uploaded.

Set Messaging element to check the value and restrict the next step. 

https://youtu.be/U5EuCACXpjA?si=_OiiAuqThL9N_QA7

Friday, May 22, 2026

Clear cache and reactivate Omniscript on the browser

 

When updating an Integration Procedure or OmniScript (layout or values), make sure to clear cache and reactivate before testing. Otherwise, changes may not reflect correctly. Cache issues can cause outdated values to appear on the test screens.


When working with Integration Procedures (IP) and OmniScripts, it’s common to make updates to layouts, data mappings, or values and expect immediate results during testing. However, one often overlooked factor can lead to confusion—caching.

๐Ÿšจ The Issue

After making changes, you may still see old values or layouts during testing. This can make it seem like your updates didn’t apply, even though everything is configured correctly.

✅ The Fix

Always follow these steps after making updates:

  1. Clear cache
  2. Reactivate the Integration Procedure or OmniScript

๐Ÿ’ก Why This Happens

OmniStudio components leverage caching for performance optimization. If not cleared, cached data can continue to serve outdated responses, especially in multi-step flows where previous screens rely on stored values.

๐Ÿงช Real-World Insight

I encountered this while testing updates—everything looked correct in configuration, but the UI still showed old data. Clearing the cache and reactivating immediately resolved the issue.

Thursday, May 14, 2026

Ignore Cache; When to use it in OmniStudio; Different cache options & their locations

 



Development / Testing

  • ✅ Enable Ignore Cache
  • ✅ Disable Card Cache for your user/profile. Where to check Disable Card Cache- 


Production
  • ❌ Leave Ignore Cache off
  • ✅ Cache only non‑sensitive, stable data
  • ✅ Use Session Cache for user‑specific data





API End Points to Get & POST; HTTP Integration

 POST : 

https://gorest.co.in/rest-console

External sites need to be added below - 



https://api.chucknorris.io/


GET:



Use Expression For Value; SetError Action Omniscript

 


OmniStudio – JSON Response Path for Data Mapper