Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Custom table record keeps editable after workflow is submitted.

Posted on by 3,371

Hello,

I created a custom table and applied a workflow on it, the workflow is working fine, the only thing is that the record keeps always editable and deletable for both the requester and the approver.

I thought it is done by the workflow controller by default! If yes, am I missing a step? If no, can you tell me how to prevent edit and delete on submitted record?

*This post is locked for comments

  • Hichem.Chekebkeb Profile Picture
    Hichem.Chekebkeb 3,371 on at
    RE: Custom table record keeps editable after workflow is submitted.

    Thanks for the clarification, I just wanted to make sure being on the right track. I already coded disabling changes.

  • Verified answer
    Sohaib Cheema Profile Picture
    Sohaib Cheema 46,610 User Group Leader on at
    RE: Custom table record keeps editable after workflow is submitted.

    you are not missing any steps. and it is not supposed to be controlled by workflow framework. this should be handled by your code (custom).

    if this is a ListPage >> use interaction class to control delete and edit

    if its normal/non-listpage >> you may write code on active() method of DataSource

    if you need help in writing code, you may ask us

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans