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

Announcements

No record found.

News and Announcements icon
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?

  • 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
ParthPatel249 Profile Picture

ParthPatel249 64

#2
11manish Profile Picture

11manish 56 Super User 2026 Season 2

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 44 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans