KI-118
Enabling clickjack protections for Visualforce pages causes document workflows to become unresponsive
Created date | 04/04/2024 | Updated date | 04/12/2024 |
Status | Done | Related work item | PLTFM-2599 |
Description | Enabling clickjack protections prevents iframes from loading during document workflows, causing the workflows to become unresponsive. Komodo Health therefore recommends not enabling clickjack protections for Visualforce pages. However, if you do wish to enable clickjack protections, follow Salesforce’s instructions on how to Enable Clickjack Protection for Visualforce Pages. | ||
Affects version(s) | All versions | Impacted capabilities | Inquiry Management Content Management |
Steps to reproduce |
Notice how the workflow modal keeps loading until the page becomes unresponsive. The workflow doesn’t run as expected and the task is not assigned to the user. | ||
Workaround | To ensure that workflows run as expected, do not enable clickjack protection. However, if you do wish to enable clickjack protection in your Salesforce environment, make sure you add the trusted Visualforce domain(s) to your Salesforce allowlist. For more information, reference the resolution notes for more information. | ||
Fix version | N/A | ||
Resolution notes | To enable clickjack protection in your Salesforce environment, add the base URL of your Salesforce environment as a trusted domain for inline frames. For more information, reference Salesforce’s document on how to Specify Trusted Domains for Inline Frames or follow the steps below:
You will be able to start document workflows as usual. |