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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Workflow is not triggering in D365 f&o.

(6) ShareShare
ReportReport
Posted on by 204
Hi, 
I've set up a custom workflow for my custom form, which includes a status field. In the table's CanSubmitToWorkflow method, I've added a condition to trigger the workflow when the status is 'Draft'. Despite activating the workflow in the environment and creating a new record with the status set to 'Draft', the workflow still isn't triggering. Am I overlooking something
Categories:
I have the same question (0)
  • Layan Jwei Profile Picture
    8,118 Super User 2025 Season 2 on at
    Hi,

    Make sure the batch service is on

    Also when you say it's not triggering, what do you mean exactly? were you able to submit ur workflow but nothing happened after?

    And is this in ur devBox?
  • RSX Profile Picture
    204 on at
    Hi @Layan Jwei​​​​​​​
    Yes in Dev env.
    What I mean by 'not triggering' is that the option to submit the workflow itself isn't appearing.
  • Layan Jwei Profile Picture
    8,118 Super User 2025 Season 2 on at
    Hi,
     
    In which module did you add the form? Is 'active change management' enabled in the parameter setup form?
  • Waed Ayyad Profile Picture
    9,039 Super User 2025 Season 2 on at
    Hi,
     
    Did you create workflow configurations for your workflow instance? Did you check security roles of the user?

     

    Thanks,

    Waed Ayyad

    If this helped, please mark it as "Verified" for others facing the same issue

     
     
     
  • RSX Profile Picture
    204 on at
    Hi,
    Yes, workflow configuration is completed and the version is active for that workflow. The user has admin role.
    It is in my custom module.

    The thing is, I have another similar custom form with similar custom Workflow and it is trigerring the workflow option to submit and it is working fine.

    I even compared both the custom workflow's, I dont see any difference. Still facing issue in one of them.
  • Layan Jwei Profile Picture
    8,118 Super User 2025 Season 2 on at
    Hi RSX,
     
    You didn't answer my question about 'active change management'
     
    Also is the 'workflow enabled' property on your form set to yes?
     
    And for the other workflow that is working fine, is it in the same module as the one not working?
  • Suggested answer
    Waed Ayyad Profile Picture
    9,039 Super User 2025 Season 2 on at
    Hi,

    1- Try to reset usage data.
    2- Do full build for your model.


    Thanks,

    Waed Ayyad

    If this helped, please mark it as "Ver​​​​​​​ified" for others facing the same issue

  • RSX Profile Picture
    204 on at
    Hi Layan,

    In this custom module, we do not have option of active change management in parameters. 
    Yes workflow is enabled in the form.
    Yes, the other workflow is in the same module. 
    Tried full build with synch, still same issue.
  • Suggested answer
    Waed Ayyad Profile Picture
    9,039 Super User 2025 Season 2 on at
    Hi RSX,
     
    Did you try to reset usage data? Are you sure you are using the correct query on your form? (The query that you used on workflow document query?)

     
     

    Thanks,

    Waed Ayyad

    If this helped, please mark it as "Verified" for others facing the same issue


  • Layan Jwei Profile Picture
    8,118 Super User 2025 Season 2 on at
    Did you debug the canSubmitToWorkflow method and made sure it really returns true?

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 456 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 429 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans