Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate Granting "Service Presence Status Access" (Omni-Channel) #564

Open
ruslan-kurchenko opened this issue May 22, 2023 · 3 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@ruslan-kurchenko
Copy link

By default, Salesforce does not provide an ability to deploy access entries and in scratch, org users do not have access to Presence Statuses. The only one available is "Offline". It blocks running standard testing and running e2e tests as a real service agent by accepting cases, etc.

Idea: https://ideas.salesforce.com/s/idea/a0B8W00000Gdq3UUAR/add-service-presence-statuses-access-to-metadata-api

As mentioned in the DX@Scale Slack thread, it is worth adding this automation to Browserforce - https://dxatscale.slack.com/archives/CN9N54GF5/p1684482930346419

@ruslan-kurchenko ruslan-kurchenko changed the title Automate Grating "Service Presence Status Access" (Omni-Channel) Automate Granting "Service Presence Status Access" (Omni-Channel) May 22, 2023
@amtrack amtrack added the enhancement New feature or request label May 23, 2023
@amtrack amtrack self-assigned this May 23, 2023
@amtrack
Copy link
Owner

amtrack commented May 23, 2023

@ruslan-kurchenko Sounds good!
I don't have much experience with Omni Channel. But from what you and others have described it really looks like a Metadata Gap and therefore it's a perfect fit for sfdx-browserforce-plugin.

Do you want to create a PR yourself?

If you don't want to create a PR, I can do it.
Your script looks good, so I don't think the implementation itself will be complicated.
The thing that will require some effort is to develop the E2E tests for it.

What would be a good test case and what are the steps to prepare a Scratch Org for testing?

@ruslan-kurchenko
Copy link
Author

Yes, I will contribute. It might take a bit of time, I need to get better knowledge about the plugin, but I got the main concept.

@amtrack
Copy link
Owner

amtrack commented May 23, 2023

Wonderful! Let me know if you have any questions...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants