Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Workflow time

(0) ShareShare
ReportReport
Posted on by 769

Hello,

Is there any way to reduce the time of workflow step less than a minute.

If not how to call the start button of tutorial_workflow_processor to speed up any workflow.

Regards,

David

*This post is locked for comments

  • Ludwig Reinhard Profile Picture
    Ludwig Reinhard Microsoft Employee on at
    RE: Workflow time

    Hi Albrecht,

    Does no 2 mean that you execute the job on the client?

  • Albrecht Prieler Profile Picture
    Albrecht Prieler 857 on at
    RE: Workflow time

    Hi David,

    i had similiar Topic at one customer, finally we did not Change that, but we have found a possible solution for time Problem.

    The main reason for the time is the Batch Job, which is running at Minium 1 Minute.

    So if you want to do it faster, you have to possibilities, we have found out:

    1. Change batchjob to under 1 Minute (i would not recommend that without a test Server)

    2. Do not send workflow to Batch Job, make a function which works directly.

        That means you are using functions of the workflow engine but with no Batch Job

    My customer did want to realize it, in cause of cost factor.

    Both possibilities would Need a lot of testing and a separate test enviroment for sure.

  • Suggested answer
    Shyam Mani Profile Picture
    Shyam Mani 331 on at
    RE: Workflow time

    Hi David,

    You can call the "tutorial_workflowprocessor" form through code, but I doubt you are mistaken that it is going to speed up the workflow processing.

    Basically, executing this form is equivalent of one time execution of "Workflow message processing" batch job.

    The execution time depends on the numbers of records in "queue" state in SysWorkflowMessageTable.

    This table is the first place where Workflow message processor looks at, do not ever delete records or modify the message life cycle state from this table otherwise entire AX workflow may come to a halt.

    Regards,

    SM

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Ludwig Reinhard Microsoft Employee on at
    RE: Workflow time

    Hello David,

    making a modification that allows you running your workflow on a seconds-level requires a quite complex modification. I once had a similar issue and at then end we decided not to modify the WF standard function. Probably talk to a developer with a deeper knowledge on this than me to get an additional insight how much it takes to get this modified.

    Best regards

    Ludwig

  • David Tailor Profile Picture
    David Tailor 769 on at
    RE: Workflow time

    Hi Ludwig,

    Thank you for your reply.

    However, with workflow that has multiple steps, it will be waste of time.

    To make system modification, is it an easy step? If not how to call start button of Tutorial _workflow_processor through code?

    Regards,

    David

  • Suggested answer
    Mahmoud Hakim Profile Picture
    Mahmoud Hakim 17,887 on at
    RE: Workflow time

    as luwding mention you "it is not possible without making a system modification"

    for calling tutorial_workflow_processor

    just create menu item display for this form , then create menu item button in WorkflowStatus form and call your menu item

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Ludwig Reinhard Microsoft Employee on at
    RE: Workflow time

    Hi David,

    To my knowledge this is not possible without making a system modification. Why is 1 min. not sufficient?

    Best regards,

    Ludwig

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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans