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)

sub workflows not appearing in the workflow history screen.

(0) ShareShare
ReportReport
Posted on by 1,330

Hi,

I have Review Timesheet Line workflow (subworkflow) added into Timesheet Approval workflow

When I go to workflow history screen, I can see only the parent workflow. Sub workflow doesn't appear there.

Is this a standard AX behavior or does it need any setup/config so that subworkflow will show up there?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    301,020 Super User 2025 Season 2 on at

    Hi lamv,

    This is standard behavior. From the parent workflow you can review the tracking details. Then per line you can click the button 'View workflow details'. Then you get another instance of the history form with the line item details.

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hello lamv,

    Have you included your line workflow in your ordinary timesheet approval workflow?

    If so, you should be able to view the approval / rejection at the subworkflow level in the workflow history form.

    Can you double check that and if it still does not Show you what you want post a screenprint of your workflow & line-workflow setup?

    Ludwig

  • mail2vd Profile Picture
    1,330 on at

    Thanks Andre.

    Hi Ludwig,

    The way we look the details of Line workflow from the TImesheet Line screen, i want to see the similar view in Workflow History. Basically end user should be able to understand what line has gone to where for the approval from workflow history screen itself.

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hello lamv,

    As Andre mentioned above, I believe what you are looking for can be identified in the tracking details tab of the workflow history form.

    In my example illustrated below the line workflow is automatically completed based on some conditions that I Setup and the workflow is approved by Tim Litton.

    3005.WF1.png

    3005.WF1.png

    Can you compare this result with yours and let us know what might be missing?

    Many thanks and best regards,

    Ludwig

  • André Arnaud de Calavon Profile Picture
    301,020 Super User 2025 Season 2 on at

    Hi lamv,

    [quote user="Iamv"]

    Basically end user should be able to understand what line has gone to where for the approval from workflow history screen itself.

    [/quote]
    What user are you referring to? The approver or the user who submitted his timesheet?
    The approver should work from his approval list. There he has the overview on his workload.
    The user itself should not care about who would approve which line. Only when the timesheet will be returned, he has to correct data. It is the responsibility of a manager to get all timesheets approved.
    An administrator or support desk would be able to monitor failed workflows in the Workflow history form. Or they can monitor pending items and reassign in case of absence of the approver.
  • mail2vd Profile Picture
    1,330 on at

    HI Andre,

    It's support desk person who has access to workflow history screen.

    Hi Lutwig,

    If you see your line, it just shows 1 liner status and similarly shows for me as well.

    It doesn't show in detail about what happened to it. To look into those, user need to go to the actual Timesheet Line screen, select the line and see the details.  There it shows the treeview sturcture of how work item got created, assigned and approved or rejeted or whatever happened to it.  

    In our case, user submits timesheets having multiple lines and it creates those many line item workflow instances. few of them might be approved by approver, few may get rejected and few may be in pending state. Header level workflow doesn't reflect this status for each line item workflow and hence user is not sure what is the status of each line. He/she needs to goto timesheet line and see status of each line. This is a huge concern for them as it's lot more time consuming as they need to switch the screen between workflow history and timesheet screens.

    I am eagar to know how i can reduce their pain.

    Thanks.

  • mail2vd Profile Picture
    1,330 on at

    I was looking at the form WorkflowStatus but couldn't find where it is deciding to show what kind of workflow's in the form.

    can you help me find where is the condition that says not to show Subworkflows?

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hello lamv,

    Have you checked the work item form on the home page under common/work items...?

    There is also an inquiry form available there under home/inquiries / workflow history.

    Do those forms give you the detailed Information you are looking for?

    Ludwig

  • André Arnaud de Calavon Profile Picture
    301,020 Super User 2025 Season 2 on at

    Hi lamv,

    The filter on the workflows is handled in the method 'setRangeFilter' on the class WorkflowStatusForm. This class is an extension handler of the WorkflowStatus form.

    Personally I would not recommend to change the behavior.

  • mail2vd Profile Picture
    1,330 on at

    Hi Andre,

    Correct. I looked in that  'setRangeFilter' method before and tried to manipulate it but it doesn't show the subworkflow. Instead it shows all lines of the subworkflow. we want only header to be shown in the main grid and the further processing to be shown in the below section where normal workflow shows its details in 'workflow history' screen.

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
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
Ali Zaidi Profile Picture

Ali Zaidi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans