Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Answered

How to prevent from user to save attachment in note

Posted on by 645

Hi,
I need to prevent some users from adding attachments to notes ( case entity) when the user will try to save attachment he will be stopped and get a msg.
How do I do that which event can I use ? or can I reffer to control change? any ideas?

  • Verified answer
    LuHao Profile Picture
    LuHao 40,872 on at
    RE: How to prevent from user to save attachment in note

    Hi sahara,

    Unfortunately, assigning workflows to security roles is not supported. You can create a team and then add the security role to be assigned to that team.

  • sahara Profile Picture
    sahara 645 on at
    RE: How to prevent from user to save attachment in note

    thanks' I need to check user security role and not a team, can I assign according to security role?

  • Verified answer
    LuHao Profile Picture
    LuHao 40,872 on at
    RE: How to prevent from user to save attachment in note

    Hi sahara,

    Please create such a real-time workflow.

    There are two steps, one is condition, the other is stop workflow.

    pastedimage1616065032098v4.png    pastedimage1616064934130v2.png

    pastedimage1616064906781v1.png

    pastedimage1616065004769v3.png

    Then assign the workflow to the users who cannot add attachment.

    You can create a team to add these users and assign the workflow to the team.

    In addition, you can determine which users will trigger this workflow via Scope in the workflow.

    pastedimage1616065329146v5.png

  • sahara Profile Picture
    sahara 645 on at
    RE: How to prevent from user to save attachment in note

    Thanks, how do I do that? how do I get that field? I choose WF of 'record field change' but which field should I address ?

  • Suggested answer
    MMK Profile Picture
    MMK 745 on at
    RE: How to prevent from user to save attachment in note

    Hi

    You can simply create a Real time workflow or Plughin synchronus on create of notes check your conditions and through the 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans