locked
records are creating by SYTEM in ms crm 2011 plugin RRS feed

  • Question

  • Hi,

    In plugin I am creating custom entity records. But some time records are creating by SYTEM instead of calling user. What is the reason for this? how to resolve this issue? Please help its very urgent.

    Thanks,

    Yadav


    Yadav

    Tuesday, June 10, 2014 6:34 PM

All replies

  • Did you try explicitly setting ownerid field of that entity that you are creating?
    Tuesday, June 10, 2014 8:54 PM
  • Hi,

    In my plugin I am not setting the ownerid filed explicitly. So, I will explicitly set this ownerid field with calling user. It will resolve the issue with this approach? or any other solutions for this issue?

    Please suggest.

    Thank you very much for your reply.

       


    Yadav

    Wednesday, June 11, 2014 7:46 AM
  • Hi,

    Considering that in your plugin you have set the plugin to execute as running user, are there any workflows/other plugins that might possibly create records or trigger your plugin? Otherwise your plugin, if triggered always by an actual user, will not create records as system.


    Admin QuikView Solution for CRM 2013

    Wednesday, June 11, 2014 8:02 AM