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

Community site session details

Session Id :
Dynamics 365 Community / Forums / Finance forum / Workflow on existing(d...
Finance forum

Workflow on existing(default) form

(0) ShareShare
ReportReport
Posted on by 131


Hi,

I am trying to create Custom workflow on SalesAgreement form by default not available. I created the whole workflow from scratch assigned the workflow properties thru code on form post_init method. but workflow not activated at all?

I am using the latest update.
How can we activate a workflow on default forms?
Please advise.

I have the same question (0)
  • darshana.parnaik Profile Picture
    210 on at
    RE: Workflow on existing(default) form

    Thanks,

    I have follow each and every steps but canSubmitToworkflow methos is not called.

    That's why workflow button is not enabled.

  • Suggested answer
    Uzair Saleem Profile Picture
    131 on at
    RE: Workflow on existing(default) form

    Dear Nikita,

    Please cross verify your steps with below link and check if something missing.

    community.dynamics.com/.../avoid-over-layering-in-development-of-workflows-on-existing-form

  • Uzair Saleem Profile Picture
    131 on at
    RE: Workflow on existing(default) form

    Dear Nikita,

    Do you receive any error? what was the outcome doing steps? can you please share some details?

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Workflow on existing(default) form

    try this

    github.com/.../353

  • darshana.parnaik Profile Picture
    210 on at
    RE: Workflow on existing(default) form

    Hi, Uzair

    Thanks for reply, I have complete all these steps using above link for VendTable but Workflow button is not enabled.

  • Suggested answer
    Uzair Saleem Profile Picture
    131 on at
    RE: Workflow on existing(default) form in Dynamics 365 for operations

    Hi Nikita,

    Now it's available, you create workflow without over layering.

    Please check below link for steps need to perform

    https://community.dynamics.com/365/financeandoperations/b/alirazatechblog/archive/2018/11/23/avoid-over-layering-in-development-of-workflows-on-existing-form-extension-version-dynamics-365-for-finance-and-operations

  • darshana.parnaik Profile Picture
    210 on at
    RE: Workflow on existing(default) form in Dynamics 365 for operations

    Hi Uzair,

     I have same requirement for creating workflow on existing form.

    So have you created. Please help me for this.

  • André Arnaud de Calavon Profile Picture
    297,200 Super User 2025 Season 2 on at
    RE: Workflow on existing(default) form in Dynamics 365 for operations

    Hi Uzair,

    You can review the provided link and also have a look at the next link for more documentation: docs.microsoft.com/.../workflow-subsystem

    Did you both build you solution and synchronized the database?

  • Uzair Saleem Profile Picture
    131 on at
    RE: Workflow on existing(default) form in Dynamics 365 for operations

    Hi Andre,

    Thanks for the update..

    Yeah I added table methods as well. But table method (canSubmitToWorkflow) didn't execute at all. That is the reason.. But how can I resolve this?

    Which event need to be used because? or SalesAgreementHeader by default no event available for this method like exist on those table where workflow provided by default.

  • André Arnaud de Calavon Profile Picture
    297,200 Super User 2025 Season 2 on at
    RE: Workflow on existing(default) form in Dynamics 365 for operations

    Hi Uzair,

    You have used the wrong product tag. "Sales" is related to CRM features (plan 1). You had to use "Finance and Operations".  have corrected this for you.

    Please review if the blog from Naresh can help you. E.g. did you create the table methods? community.dynamics.com/.../create-custom-workflow-in-d365-dynamics-365

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

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

Leaderboard > Finance

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans