Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Suggested answer

Workflow - recall & Approval

Posted on by 32

Hello dear all,

i have a strange case with the workflows in a PO:

1º workflow was submit

2º workflow was recall

3º workflow was submit again

But the weird part is that the approval manager reports that he sees in his "work item assigned to me" - 2 approval requests.

(take into consideration that the 1º approval request was recall) , he should only see 1 to approve.

Any ideas why this happen??

thank you

Categories:
  • Suggested answer
    Komi Siabi Profile Picture
    Komi Siabi 12,431 Most Valuable Professional on at
    RE: Workflow - recall & Approval

    The PO form is a standard form. So, we should be able to reproduce the same error in our own environment.

    Can you tell me the version on which you are on currently? Meanwhile, I suggest you clear your user data usage and retry.

  • Suggested answer
    GirishS Profile Picture
    GirishS 27,828 Moderator on at
    RE: Workflow - recall & Approval

    If you have access to table browser just open the "WorkflowWorkitemTable" - Filter by status "Pending" and UserId  "Approver user id".

    If there are two records against that user from the table browser then it will show as 2 records only, since its coded like that in standard.

    Below the example for opening the table browser.

    url/?mi=SysTableBrowser&tableName=[tablename]&cmp=[company]

    Example: environment.cloudax.dynamics.com/

    Thanks,

    Girish S.

  • Aleja Profile Picture
    Aleja 32 on at
    RE: Workflow - recall & Approval

    i dont have access to Visual Studio. do you know if there are any way to check why the manager approval sees the PO to approved that was done a recall?

  • Suggested answer
    GirishS Profile Picture
    GirishS 27,828 Moderator on at
    RE: Workflow - recall & Approval

    Hi Aleja,

    I guess you are using D365, since the tag suggests the current version.

    If yes you can open the "DefaultDashboard" form from visual studio and refer to method "loadWorkItems".

    You can refer to the code and see what query is added to fetch work items assigned to user. Even you can debug and see the query used.

    Thanks,

    Girish S.

  • Aleja Profile Picture
    Aleja 32 on at
    RE: Workflow - recall & Approval

    yes - it takes to the same PO

  • Komi Siabi Profile Picture
    Komi Siabi 12,431 Most Valuable Professional on at
    RE: Workflow - recall & Approval

    What happens when the nanger clicks on each of these work items ? Do they both lead to the same document ?

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

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

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 228,126 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans