web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Can I Call web Resource from Workflow or Custom Workflow

(0) ShareShare
ReportReport
Posted on by 556

Hi Expert,

Can we call web resource from workflow or custom workflow  ??????

*This post is locked for comments

I have the same question (0)
  • vikash sharma Profile Picture
    556 on at

    I have tried many ways to call but i unable to call javascript.

    Please reply ?

  • ansrikanth Profile Picture
    3,115 on at

    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 ?

  • Nithya Gopinath Profile Picture
    17,078 on at

    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

  • vikash sharma Profile Picture
    556 on at

    No.

  • Suggested answer
    Nadeeja Bomiriya Profile Picture
    6,804 on at

    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.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans