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 260

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?

  • CU06011034-0 Profile Picture
    4 on at
    Update field with person who triggers workflow
    @XM-22040801-0

    Dynamics 365 Workflow Tools and use the "Get Initiating User Action" gives infinite loop error.
  • Sam Conroy Profile Picture
    260 on at
    RE: Update field with person who triggers workflow

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

  • Sam Conroy Profile Picture
    260 on at
    RE: Update field with person who triggers workflow

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

  • Sayen Zhang Profile Picture
    on at
    RE: Update field with person who triggers workflow

    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

  • Suggested answer
    XM-22040801-0 Profile Picture
    11 on at
    RE: Update field with person who triggers workflow

    Hi,

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

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,997 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,827 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans