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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Answered

Update field with person who triggers workflow

(2) ShareShare
ReportReport
Posted on by 274

I have a traditional real time workflow that updates a field on completion of the workflow with "modified by". 

It seems to intermittently update it correctly and the rest of the time just updates it to the owner of the record it's running against.

It works on a custom button in a custom entity and the workflow is set to execute as "The user who made changes to the record" so as far as I'm aware it should update it correctly and within the audit history it shows who triggers it fine but it has non consistency.

Any ideas?

I have the same question (0)
  • Suggested answer
    XM-22040801-0 Profile Picture
    11 on at

    Hi,

    Can you try to install Dynamics 365 Workflow Tools and use the "Get Initiating User Action" ? See github.com/.../Get Initiating User.md

  • Sayen Zhang Profile Picture
    on at

    Hi Sam,

    Hope you are well.

    You can add Modified On in the workflow to check what action in that time will be recording in the workflow.

    Through this way, we can investigate why Modified by in workflow has nonconsistency with Audit Changed By.

    Best Regards,

    Sayen Zhang

  • Sam Conroy Profile Picture
    274 on at

    This looks perfect, I'll try this now. Thank you.

  • Sam Conroy Profile Picture
    274 on at

    I didn't think about trying this, I'll give it a go. Thank you Sayen.

  • CU06011034-0 Profile Picture
    4 on at
    @XM-22040801-0

    Dynamics 365 Workflow Tools and use the "Get Initiating User Action" gives infinite loop error.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 49 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 27 Most Valuable Professional

#3
Soundari Profile Picture

Soundari 15

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans