You need to sign in to do that
Don't have an account?
Bryn Jones
run javascript API with screen flow
Hello,
Can someone help me as to how i would trigger the following API JS script using a screen flow or visualforce page?
https://developer.salesforce.com/docs/atlas.en-us.omni_channel_dev.meta/omni_channel_dev/sforce_api_console_lightning_login.htm
I will add this as a Login Flow, so when a user logs in they click another button on the login flow and it automatically logs them into the Omni Channel as Available.
Can someone help me as to how i would trigger the following API JS script using a screen flow or visualforce page?
https://developer.salesforce.com/docs/atlas.en-us.omni_channel_dev.meta/omni_channel_dev/sforce_api_console_lightning_login.htm
I will add this as a Login Flow, so when a user logs in they click another button on the login flow and it automatically logs them into the Omni Channel as Available.
Check below references that can help you to include javascript in a flow
https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000A8ogDSAR
https://salesforce.stackexchange.com/questions/329923/is-it-possible-to-run-js-from-either-apex-from-a-flow
Please mark as Best Answer if above information was helpful.
Thanks,