Hello Dynamics 365 Community,
I am encountering an issue in a Dynamics 365 where a custom action (or workflow) triggered via JavaScript executes successfully, but does not return the expected response to the JavaScript code. This delay or absence of response is affecting critical functionality in our application. Interestingly, the response is received correctly 4-5 hours later, the solution has been imported, and the behavior varies depending on how the solution is imported. I’m seeking assistance to diagnose the root cause and identify a solution.
Issue:
- The action executes successfully (verified in System Jobs or Process Sessions), and server-side logic (e.g., field updates) completes as expected.
- However, the JavaScript success callback does not receive the expected response immediately; it’s either empty or undefined.
Solution Import Behavior:
- When the solution is imported via Power Apps (make.powerapps.com), the issue does not occur, and the response is returned immediately.
- When imported via Package Deployer or Legacy UI, the issue persists (no immediate response).
I’m hoping someone can help me identify what I might be missing or suggest a solution.