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 :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

How to replace real-time workflow that prevents record save on invalid related data?

(0) ShareShare
ReportReport
Posted on by 20

I have a business requirement to perform real-time (synchronous) data checking which is more complicated than a Business Rule will allow:

- If {lookup field value} in {related record} is equal to {lookup field value} in {other related record}, prevent save and alert the user.

- On save, update {lookup field value} with {lookup field value} from {related record}

- On save, check if {date in related record} is later than {date in record related to another related record} and if so, update {third related record}

We also use real-time Workflows to name many records on record creation.

Using asynchronous workflows to do this was upsetting many users who thought their changes had not taken place, so performance is not a consideration.

Since Workflows cannot be created in the PowerApps environment, and MS Flow cannot run synchronously, what is the recommended alternative? Is it form-level Javascript? If that is the case, how do we perform data checks on bulk-edited records?

I have the same question (0)
  • Verified answer
    Henry J. Profile Picture
    5,237 on at

    Hi Robert,

    You can create synchronous workflows in a Common Data Service environment.
    https://docs.microsoft.com/en-us/power-automate/guide-staff-through-common-tasks-processes#when-to-use-workflows

    It's true that we recommend considering Power Automate flows first, but in case what you're trying to achieve isn't possible with flows (e.g. synchronous); then it's OK to consider classic workflows.

    henry

  • Suggested answer
    Pankaj Gogoi Profile Picture
    3,177 on at

    Hi,

    I think you can use JS to perform the check and for updating, you can use a Plugin.

    Can you give more information on how you are bulk editing records?

    Best Regards

    PG

  • RobertAndersonHunt Profile Picture
    20 on at

    Henry above has confirmed that Processes are still create-able, which fixes my immediate problem.

    For bulk editing records, I'm doing it from a View.

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 > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
#ManoVerse Profile Picture

#ManoVerse 101

#2
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 66 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans