Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

How to call workflow through Plug-in?

Posted on by Microsoft Employee

Hi,

Is this possible to call a on demand workflow through  plug-in.
How do we call a workflow inside the plug-in.

Thanks,

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to call workflow through Plug-in?

    Have you looked at other CTI applications? Other providers can do the integration you want, and further improve your workflow with automation functionalities and extra features. That's what we do here at Tenfold. We're a certified Microsoft Partner and support MS Dynamics integration. You can check out the features we offer on this page: www.tenfold.com/.../dynamics

  • Verified answer
    RE: How to call workflow through Plug-in?

    Here is a little code I found online and tried it myself

    ExecuteWorkflowRequest request = new ExecuteWorkflowRequest()

    {

    WorkflowId = workFlowId,

    EntityId = entityId

    };

    // Execute the workflow.

    ExecuteWorkflowResponse response =

    (ExecuteWorkflowResponse)service.Execute(request);

  • Abed Haniyah Profile Picture
    Abed Haniyah 4,285 on at
    RE: How to call workflow through Plug-in?

    Create a filed and update it on your plugin, then make your workflow run also on update this field only :)

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans