locked
Issue with current user in Custom Workflows Activity of Microsoft Dynamics CRM 2013 RRS feed

  • Question

  • Hi All,

    I have custom workflow activity which will call the on create of record, in the system job record owner is showing the current user who is running the workflow It is working fine on create of the record but update is showing the different user who created/owner of the workflow. and I used CreateOrganizationService(context.UserId) to get the service object.

    It would be great if anyone can help on this.

    Thanks

    Srikanth

    Monday, May 16, 2016 4:19 PM

All replies

  • use InitiatingUserId in the context.

    Regards, Saad

    Tuesday, May 17, 2016 5:54 AM