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 365 | Integration, Dataverse...
Suggested Answer

allow to execute Workflows only for Users who created an activity

(0) ShareShare
ReportReport
Posted on by 5

Hi there,

I created an re-open workflow for activity entities (eg. Phonecall). This Workflow should only be executed by the User who created it. I couldn´t find a solution for this. Neither in the Workflow itself nor as a business rule. Even the Ribbon Workbench only allow to have privileges on rules not on a current user base.

So what I need is something like that: if current user equals field value in created by field, then show Button re-open Workflow or let him execute the workflow without any error message. If the current user does not equal the created by field value, than hide the Button or don´t let him execute the Workflow and show error message.

I work on a 8.2 Version and have no clue about scripting

Any suggestions?

I have the same question (0)
  • Suggested answer
    Torrado Profile Picture
    1,270 on at

    Hello,

    You need to configure Enable Rule for that button, to show only when the user is the creator of the activity record.

    Please refer to this post by the Ribbon Workbench author (it has video as well) to understand how the Enable Rules are configured: ribbonworkbench.uservoice.com/.../121427-enable-disable-a-ribbon-button-dynamically-based-o

    You might need to modify and combine the script to get the "Current User Id" compared to the "Created By Id" value.

    Please check this article about how to get the current user for your D365 version: crmorion.blogspot.com/.../how-to-get-current-user-id-in-crm-2013.html

    Hope this helps you,

    Please mark the answer as verified if helpful. That will help others in future.

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 365 | Integration, Dataverse, and general topics

#1
Pallavi Phade Profile Picture

Pallavi Phade 102 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 67

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 55 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans