Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

How to create the tasks programmatically?

Posted on by 140

Hi,

I would like to write the plugin for leads(post operation). when i create the lead then task should automatically created can any one suggest me.please.

*This post is locked for comments

  • Suggested answer
    Jeevarajan Kumar Profile Picture
    Jeevarajan Kumar 747 Most Valuable Professional on at
    RE: How to create the tasks programmatically?

    Hi Indrasena Reddy,

    As suggested by John Browne, for this, it is preferred to create a workflow, so that any Business people can modify it without having to know programming.

    Create-Task-for-Lead.png

    In case of doing it in plugin, the URL shared by Andrew is a good place to start or you  can start with the SDK, SDK\SampleCode\CS\Plug-ins

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: How to create the tasks programmatically?

    Hello,

    You can start here - msdn.microsoft.com/.../gg328416.aspx

  • Suggested answer
    ArdantHammer Profile Picture
    ArdantHammer 370 on at
    RE: How to create the tasks programmatically?

    You don't need a plugin for this. You could do it in a workflow using an on create trigger and then create the task you need. If you have other reasons for wanting to do this with a plugin here is a good place to start: msdn.microsoft.com/.../gg328416.aspx

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,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans