Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Workflow

(0) ShareShare
ReportReport
Posted on by 8

Requirement is to let users generate a document before they submit it for approval after which all fields are locked and they cant make changes, whereas a preview document helps them to check on any mistakes, rectify and then submit for approval. 

To achieve this I should be able to trigger the workflow in such a way that when users want to have a preview and as many times they should be able to, just like click a button and generate the document as many times. 

Question is how can i mimic this button kind of functionality to trigger my workflow, which generates the document. 

Only struggle is to trigger. 

I was thinking may be use a two option field and whenever user click Yes, strat the workflow, however, it then needs to be re-set to No to let them re-run again, seems bit fiddly as a solution.

Thanks,

PS

  • Ram Prakash Profile Picture
    2,287 on at
    RE: Workflow

    Hi,

    You can use Microsoft flow to achieve the same in that use Filter Query to check the value is Yes or not

  • Suggested answer
    Kipetcoff Profile Picture
    1,027 on at
    RE: Workflow

    Hello,

    Try this approach https://www.cloudfronts.com/blog/d365-enterprise/d365-general/call-workflow-directly-from-a-button-using-ribbon-workbench/ 

    Another way you can do this is with Business Process Flow. Just start the workflow from a specific step

    pastedimage1663790124880v1.png

  • Suggested answer
    Abdul Wahab Profile Picture
    12,085 Moderator on at
    RE: Workflow

    Hi PS10,

    Create a new column in your table. Set on change of the workflow on this column. Update this column from JS and the workflow triggers. This is the very simple way.

    If I answer your question then please mark it as verified.

    Let me know if I can provide you with more details.

    Thanks
    Regards,

    Abdul Wahab
    Power Platform/Customer Engagement Developer/Lead/Solution Architecture/Project Manager
    Direct/WhatsApp:+923323281237
    E-mail: abdulwahabubit@outlook.com
    Skype: abdul.wahabubit
    Linkedin: www.linkedin.com/.../

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,209 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,923 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans