Skip to main content

Notifications

Microsoft Dynamics AX forum

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

News and Announcements

Give Back to the Community this Month

Quick Links

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,802 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,133 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,154

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans