web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Resolve Case via background workflow by "Modified by" user

(0) ShareShare
ReportReport
Posted on by 246

Hi, 

i have custom field "Status reason" on Case and with some value of this field it resolves Case via background workflow. After succesfully ended process session is automatically created Activity on Case records ("Case resolved by Administrator") - Administrator is the owner of the workflow.

Is it possible somehow show the user who made these changes on Case record in activity? It's possibly 3 different users so change of owner of workflow it's not a solution. 

Thanks for any advice.

Alex

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Alex Fun Wei Jie Profile Picture
    33,628 on at

    Hi,

    you can create a real time workflow and execute as user.

  • Alexandr J. Profile Picture
    246 on at

    Hi,

    thanks for fast answer. I tried it before but thats not working as i want so OK it's possible solution but i want to change it on background workflow - thats not possible?

    Best regards,

    Alex

  • Alok Singh Profile Picture
    910 on at

    Hi Alex,

    You can create a new custom entity (Case log history) and create a case log history record whenever user is updating case and this case log can be associated with the activity where you can see the complete history. You can have following few fields

    1. Updated by

    2. updated date and time

    In future if you want to extend this feature , you can add more fields such Owner change, Status change etc and based on these details a report can be created and presented to management for further analysis.

  • Suggested answer
    Kokulan Profile Picture
    18,054 on at

    Hi

    You could solve this issue using two different apporches i think

    01. You could move your workflow logic to plugin - Plugin will by default run in current user's context

    02. You could create a Custom Workflow Activity that impersonates and creates an OrgService in the context of the modified by user and then Resolves the case using that OrgService

    www.inogic.com/.../scenario-where-impersonation-in-custom-workflow-can-be-used-for-dynamics-crm

    Hope this helps

  • Verified answer
    Fubar Profile Picture
    2,761 on at

    A someone already indicated do it with a real-time workflow - if you need something that is only available in the background workflow (e.g. a wait condition etc), you can initiate by a real-time workflow that calls a background workflow.  Alternatively, you would need to write an plugin.

  • Verified answer
    ARIFNIIT Profile Picture
    1,391 on at

    I think you can use custom code activity and you can use InitiatingUserId from context. other option you can use real time workflow.

  • Alexandr J. Profile Picture
    246 on at

    Thanks all for answers of possible ways to success. It looks like real-time wf will be best option for my case.

    Best regards,

    Alex

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans