Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Business Process Flow / Javascript Conflict

(0) ShareShare
ReportReport
Posted on by 685

Hi,

We have a piece of code on the Case entity that essentially pulls through the parent account (customerid field) when a contact (primarycontactid field) is selected.

Without a business process flow the code works fine. When a business process flow the code still works but this time the account (customerid field) shows an error message saying the customer must first be selected, even though it contains data, and the form will not save.

Any ideas on why this may be happening?

Best wishes,

Richard 

*This post is locked for comments

  • RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Business Process Flow / Javascript Conflict

    Can you share a screenshot of the error?

  • crmrsw15 Profile Picture
    crmrsw15 685 on at
    RE: Business Process Flow / Javascript Conflict

    Thanks Rickard. I shall update on anything I find.

  • RE: Business Process Flow / Javascript Conflict

    Well, there's something in that process that interferes. Have you tried debugging the workflow to see what happens? Insert "debugger;" on a line and have the console open in you web browser and the js should stop at that line. This is perhaps not an option if you're completely new to developing but it might also be pretty much the only option you have.

    Just from this description it's really hard to say anything.

  • crmrsw15 Profile Picture
    crmrsw15 685 on at
    RE: Business Process Flow / Javascript Conflict

    Hi Rickard. Its a simple case management process, customised around our own internal process.

  • RE: Business Process Flow / Javascript Conflict

    What does the business process flow do?

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…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 231,309 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans