Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Recall button on Sales order work Flow

Posted on by 1,635

Dears,

we have customized work Flow on Sales order..system administrator can use the option of Recall but other user can't do..

any duty or privileges to enable this option???

Regards

*This post is locked for comments

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,240 Super User 2024 Season 2 on at
    RE: Recall button on Sales order work Flow

    Hi Yasir,

    This is a privilege. You can add it to a duty and/or a security role. Coding for the Workflow history form is evaluating if a user has this privilege assigned or not.

  • Yasir Shahzad Profile Picture
    Yasir Shahzad 1,635 on at
    RE: Recall button on Sales order work Flow

    what is the path of "workFlowManagerWorkFlowInstances"

    Regards

  • Verified answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,240 Super User 2024 Season 2 on at
    RE: Recall button on Sales order work Flow

    Hi Yasir,

    You now named the Workflow history form. I assumed you referred to the recall from the sales order. Can the user recall from the Sales order itself?

    Users can only use this button on the Workflow history form if they are the workflow owner, submitted the timesheet or has access to the privilege "WorkflowManageWorkflowInstances". In addition the status of the workflow instance should be Pending or Error.

  • Yasir Shahzad Profile Picture
    Yasir Shahzad 1,635 on at
    RE: Recall button on Sales order work Flow

    Recall-button-not-enable.png

    Dear Andre....every user has assigned with "system user" in AX..the button is visible but not enable for user...kindly forget the completed status...because process has been completed by system administrator...

  • Yasir Shahzad Profile Picture
    Yasir Shahzad 1,635 on at
    RE: Recall button on Sales order work Flow

    Dear sohaib..i m front end user...i want to know the privilege or duty...or any table value in AOT???

  • Sohaib Cheema Profile Picture
    Sohaib Cheema 46,610 User Group Leader on at
    RE: Recall button on Sales order work Flow

    André is correct.

     

    In standard AX Recall button becomes active for a user under following conditions

    .

     //Pseudo Code//

    If (

    (Current User is Admin

     OR

    Current User is Owner of workflow

    OR

    User is IT Manager

    OR

    User Contains WF Privilege)

     

    AND //(And condition is inside if)

     

    (Workflow Status is Pending

    OR

    Workflow Status is Faulted)

     

    )//END OF IF CONDITION

     

    Definitely you don’t want to assign additional roles to current user.

    So solution can be providing access of Cancel Menu of item of you WF to Current Role of user. Note that “Recall” is represented by Cancel menu item of WF. These menu items are generated at time of WF Development.

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,240 Super User 2024 Season 2 on at
    RE: Recall button on Sales order work Flow

    Hi Yasir,

    There is no table involved for workflow menu items. I now also realized you are referring to the 'Recall' button. This should be visible if the user has the security role 'System user' assigned. Can you verify this?

  • Yasir Shahzad Profile Picture
    Yasir Shahzad 1,635 on at
    RE: Recall button on Sales order work Flow

    Dear Andre....how can i create privilege...i know how to create privileges in menu item but which table will be best to solve this issue

    Regards

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,240 Super User 2024 Season 2 on at
    RE: Recall button on Sales order work Flow

    Hi Yasir,

    You have to create privileges for the menu items used by the workflow and then attach it to a role. If this is not done, the user will not be able to see the functionality.

  • Yasir Shahzad Profile Picture
    Yasir Shahzad 1,635 on at
    RE: Recall button on Sales order work Flow

    dear ludwig...i want to say that Recall option is not enable to submitter of Sales order Work Flow...my case is different...here the administrator is not the owner of Work Flow...Recall option only enable for System adminstrator. but not for the sales order submitter

    Regards

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