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
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.
what is the path of "workFlowManagerWorkFlowInstances"
Regards
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.
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...
Dear sohaib..i m front end user...i want to know the privilege or duty...or any table value in AOT???
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.
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?
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
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.
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
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156