web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Security Roles on WorkFlow

(0) ShareShare
ReportReport
Posted on by

Hi 

I am creating a security roles and privileges on  Sales Order. There  is a customize button (Submit, Reject, Approve) into it. Submit and Reject button should be enabled once SO is created, it should not be approve immediately, the approval status should be "In Review", once "Submit" ,Approve button will be enabled. Now i already added those button on the privileges and it appears on ActionPane but it is disabled and once i create an SO approval status is already "Approved".

Thank you very much

Mari Eru

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Faisal Fareed Profile Picture
    10,796 User Group Leader on at

    Hi Mari,

    This requirement is not related to security role instead its a business process which actually enables/disables button controls. You can se autoDeclaration property of all buttons to YES and write code to enable/disable these based on your flow.

    For example you can do on form's init method like this; its just an example to give you an idea.

    Submitbutton.enabled(true);

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans