web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Two workflows on one form

(1) ShareShare
ReportReport
Posted on by 4
Hello,
 
A workflow has been created for approval for cancelling sales order on the sales order form. The workflow is triggered when clicking 'Cancel' on the sales order form, and the workflow type has been set on the form design. A second workflow needs to be created for approval for modifying confirmed sales order. This new workflow should be triggered when clicking 'Modify' on the sales order form.
 
I have come across some discussions about two workflows on a single form, however, it is still not clear to me how to make these two workflows work on the same form.
 
For developing the new workflow, I will create a new workflow category, a new workflow type, and a new workflow approval process for the confirmed sales order modification. Additionally, I will set up a new workflow configuration for sales order modification.
 
Any suggestions on the correct place to add the code to let the system know which workflow type is being processed - cancel or modify? How can both workflows be made to work on the same form?

Thank you in advance!
Jenny
I have the same question (0)
  • Suggested answer
    Czeslawa Langowska Profile Picture
    on at
    You can always use the method xRecord.canSubmitToWorkflow Method (Dynamics.AX.Application) | Microsoft Learn (canSubmitToWorkflow) to verify which workflow should be running

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 330 Most Valuable Professional

#2
CU10121822-0 Profile Picture

CU10121822-0 310

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 242 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans