Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Hidden Fields in Business Process Flow

(0) ShareShare
ReportReport
Posted on by 765

Hey Everyone,

So, I've created a custom Business Process Flow (BPF) within Opportunity and, for example, under the second Stage of the BPF I have a field 'Identified Influencer' that is supposed to be hidden until another field, 'Proposal Attached', is set to YES, this is done with a Business Rule.  The issue is when you first click 'Next Stage' the 'hidden' field is visible; Now, it will become hidden if you refresh the page, or if you set 'Proposal Attached' to YES, then back to NO, but it would be really nice if it were hidden when you enter the stage for the first time.  

The Business Rule is:

If 'Proposal Attached' is set to YES, show field 'Identified Influencer'. 

If 'Proposal Attached' is NOT set to YES, hide field 'Identified Influencer'.

Both Fields are on the form as well as in the BPF and work correctly on the form.

I've tried making a workflow that changes 'Proposal Attached' to YES to NO, no luck. I've also tried to make 'Proposal Attached' an Option Set of YES, NO, Null in hopes that third value might help the Business Rule, no luck. 

Thoughts?  Thanks!

*This post is locked for comments

  • Verified answer
    AEdwards Profile Picture
    AEdwards 765 on at
    RE: Hidden Fields in Business Process Flow

    --UPDATE--

    I found a work around for this:

    I put the fields in the BPF on the form in a hidden section, this helps with making the fields in the BPF react more similarly. Then, on top of that, when the form loads, or the BPF Stage changes I run a quick script that just simply reloads the page, this causes the fields to react accordingly.

  • Suggested answer
    ScottDurow Profile Picture
    ScottDurow 19 on at
    RE: Hidden Fields in Business Process Flow

    No unfortunately not.

    My general rule is that if the fields need to be hidden/shown based on another value then they are most likely too complex to be in the Business Process Flow.

  • AEdwards Profile Picture
    AEdwards 765 on at
    RE: Hidden Fields in Business Process Flow

    The issue isn't so much that it's not run for every step, just that when you first enter the step it doesn't run until after a page refresh.  

    Is there a way to make it run upon entering the stage?

  • Suggested answer
    ScottDurow Profile Picture
    ScottDurow 19 on at
    RE: Hidden Fields in Business Process Flow

    Hi,

    Yes - this is a known limitation of the BPF (Business Process Flows) and PBL (Portal Business Logic) working together. For performance reasons, PBL is not run for every step - just the one that is currently viewed.

    Not the answer you were looking for I know!

    Hope this helps,

    Scott

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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,031 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,868 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans