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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Use JavaScript to add condition to Business Process Flow

(0) ShareShare
ReportReport
Posted on by 10

Good afternoon, I'm trying to implement a new request for a business process flow, and not quite sure how to go about it, other than that it probably needs to be done using JavaScript. The scenario is:

In Step 4 of the BPF, a Yes/No is asked. If the Step 4 condition is Yes, then a Subgrid must not be empty, in order for Step 5 to complete.

How can I use JavaScript to check for this Step 4 variable, and prevent Step 5 from completing successfully, if the Subgrid does not have any records, and how can I display an error so the user knows the reason this has happened?

Thank you!

I have the same question (0)

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 Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Nagaraju_Matta Profile Picture

Nagaraju_Matta 121

#2
ManoVerse Profile Picture

ManoVerse 67 Super User 2026 Season 1

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 66 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans