Skip to main content

Notifications

Dynamics 365 general forum

How to make a workflow wait until an user input is received?

Posted on by 40
Hi,
We have a requirement, where a business user reviews an Application record and on approval a process gets triggered that creates records in multiple entities using the Application record data. Before creating a record the process makes a call to an external web service to check for possible duplicates. If duplicates are found then the process  would need to show a UI dialog for resolution and resumes the next steps until an user input is received.
Is this achievable from out of the box functionality? Or do we need to develop custom code? Please provide some guidance on the design.
Thanks.
  • Suggested answer
    Mahendar Pal Profile Picture
    Mahendar Pal 45,095 on at
    RE: How to make a workflow wait until an user input is received?

    Hi,

    You can't show dialog and progress to next step workflow, so you can't implement this all in workflow,but one possible option could be to implement this in plugin (custom code), so in your plugin you can setup a approval process ( you can use, plugin and actions (in case you want to trigger your approval through some ribbon button)), you plugin can call webservice and validate the records if there is any error, you can use form notification to show them on form, here is the reference for this: missdynamicscrm.blogspot.com/.../convert-crm-plugin-message-to-crm-alert-form-notification-javascript-from-plugin-csharp.html

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans