Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Plugin Register on Task's Assign Event not work as Expectation on ver(9.0.1.733 DB 9.0.1.425)

Posted on by 65

Hi, 

i have a plugin PL which is Register on Task entity's Assign Event.

When Assign a Task which is Belong to Owner A  , To Owner B.  Plugin PL will Share R/W to Owner A,the Owner Before Assign.

It was worked very well at Dynamics 365 Ver 8.0, But After my customer update it to  Dynamics 365 (9.0.1.733 DB 9.0.1.425).

The PL start to share R/W to Owner B, the Owner which after Assign.

1.PL is Register on post-operator of Task entity's Assign Event.

2.i print out OwnerId in preImage and OwnerId in postImage, it is same and the id is same as the Owner after Assign in ver9.

3.i see tracelog list and Audit history it seems Update Event also run ,and i register PL on  Task entity's Update Event, It begins to works well in Ver9.

Is Update Event run before than Assign Event at Ver9? 

Any Information?

Thank you!

 

*This post is locked for comments

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Plugin Register on Task's Assign Event not work as Expectation on ver(9.0.1.733 DB 9.0.1.425)

    Hi.,

    I haven't tried this yet but believes if you put depth check in your plugin then it will work.

    Could you please try this and confirm?

    Hope this helps.

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Plugin Register on Task's Assign Event not work as Expectation on ver(9.0.1.733 DB 9.0.1.425)

    Hi,

    I haven't tried this yet but from you description, i think if you put a depth check in your code then it should work.  

    Hope this helps.

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,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans