Skip to content

@W-20479090 - Added logic to skip OmniStudio license validation for assessment#470

Merged
sf-aastha-paruthi merged 5 commits intosalesforcecli:release260omnistudiopackagefrom
shaurabh-tiwari-git:u/shaurabh-tiwari/w-20479090/licenseAssessment
Feb 27, 2026
Merged

@W-20479090 - Added logic to skip OmniStudio license validation for assessment#470
sf-aastha-paruthi merged 5 commits intosalesforcecli:release260omnistudiopackagefrom
shaurabh-tiwari-git:u/shaurabh-tiwari/w-20479090/licenseAssessment

Conversation

@shaurabh-tiwari-git
Copy link
Copy Markdown

What does this PR do?

What issues does this PR fix or reference?

@shaurabh-tiwari-git shaurabh-tiwari-git marked this pull request as ready for review February 9, 2026 05:58
@shaurabh-tiwari-git shaurabh-tiwari-git requested a review from a team as a code owner February 9, 2026 05:58
@sf-aastha-paruthi
Copy link
Copy Markdown
Collaborator

Please check with Rasmi and add this behaviour change to the document.

}
return enabledFlags;
} catch (error) {
} catch (error: unknown) {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please ensure the data model - Custom vs Stanadard is correctly identified by running in some org.

error &&
typeof error === 'object' &&
'errorCode' in error &&
(error as { errorCode: unknown }).errorCode === 'INVALID_TYPE' &&
Copy link
Copy Markdown
Collaborator

@rajender-kumar-salesforce rajender-kumar-salesforce Feb 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 .

Copy link
Copy Markdown
Author

@shaurabh-tiwari-git shaurabh-tiwari-git Feb 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here, we get the OmniInteractionConfig is not a valid entity type message, indicating that we do not have OmniStudio licenses.

@sf-aastha-paruthi sf-aastha-paruthi merged commit 532d9c8 into salesforcecli:release260omnistudiopackage Feb 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants