Notifications
Announcements
No record found.
Hi Expert,
Can we call web resource from workflow or custom workflow ??????
*This post is locked for comments
I have tried many ways to call but i unable to call javascript.
Please reply ?
What do you mean by Calling a web resource ?? what is your web resource and why do you want to call it in Workflow ? Is that some sort of XML data ?
Hi Vikash Sharma,
Please refer the following discussion. Hope this will clear your doubt.
stackoverflow.com/.../trigger-a-jscript-webresource-with-a-workflow-on-dynamics-crm
No.
Hi Vikash,
JavaScript usually runs on client side while workflow runs on server side. While it is possible to call a custom action which then triggers a workflow from JavaScript, other way around is not possible easily.
The only way I have experimented in the past to do something similar is using SignalR (https://www.asp.net/signalr), where JavaScript on a CRM Form makes a connection to a SignalR server and listens to messages, and from server side you can call SignalR server, which then passes the message to JavaScript code that is listening to the SignalR server. From there, you can call whatever you like using JavaScript.
Hope this helps.
Cheers,
Nadeeja
My Blog: http://dyn365apps.com/ - Follow me on Twitter: https://twitter.com/dyn365apps
LinkedIn: https://www.linkedin.com/in/nadeeja
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
SA-08121319-0 4
Calum MacFarlane 4
Alex Fun Wei Jie 2