@W-20479090 - Added logic to skip OmniStudio license validation for assessment#470
Merged
sf-aastha-paruthi merged 5 commits intosalesforcecli:release260omnistudiopackagefrom Feb 27, 2026
Conversation
Collaborator
|
Please check with Rasmi and add this behaviour change to the document. |
| } | ||
| return enabledFlags; | ||
| } catch (error) { | ||
| } catch (error: unknown) { |
Collaborator
There was a problem hiding this comment.
Please ensure the data model - Custom vs Stanadard is correctly identified by running in some org.
src/utils/orgPreferences.ts
Outdated
| error && | ||
| typeof error === 'object' && | ||
| 'errorCode' in error && | ||
| (error as { errorCode: unknown }).errorCode === 'INVALID_TYPE' && |
Collaborator
There was a problem hiding this comment.
In which scenario did we receive this INVALID_TYPE error code - Assess without license ? Do we get some info related to license enablement in message object .
Author
There was a problem hiding this comment.
Here, we get the OmniInteractionConfig is not a valid entity type message, indicating that we do not have OmniStudio licenses.
sf-aastha-paruthi
approved these changes
Feb 26, 2026
rajender-kumar-salesforce
approved these changes
Feb 27, 2026
532d9c8
into
salesforcecli:release260omnistudiopackage
1 check passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
What issues does this PR fix or reference?