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...
Unanswered

Execution of workflow sets fields form fields to null

(0) ShareShare
ReportReport
Posted on by 20

Hello all,

I'm facing a weird issue on creation of lead records

From main form of Lead entity, I create a new lead record, filling all required fields. Name and lastname included (logical names: firstname, lastname).

On creating of a new lead is registered a workflow(foreground) which creates a new contact, updates lead (not fields name and lastname)...

What happens is that after lead record is saved, on load of form fields "Name" and "Lastname" are dirty and null. (fields are changed only in client side. Record is saved correctly with the provided input for name and lastname)

Before save:

Screenshot_5F00_12.png

After save:

Screenshot_5F00_13.png

Fields have become null before execution of handler from js file (on the first line of handler I put a breaking point to check the value of fields). 

I have disabled other functions on event onLoad of form. I have checked if were other functions registered in other events of fields or form. I have checked js files that are used on ribbon.

I couldn't find any js instructions that set field firstname and lastname to null on loading of form. 

Now the cool part: if I disable the workflow I don't see this "bug". These fields are not set to null if workflow is disabled. From what I know, workflow should not cause changes on client side. No js is setting the value of these fields.

Ever faced a similar issue before?

Please let me know!

Thanks! 

Albi

I have the same question (0)
  • Leco Lv Profile Picture
    Microsoft Employee on at

    Hi partner,

    Maybe your workflow is causing the problem, could you provide your workflow information?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
11manish Profile Picture

11manish 176

#2
ManoVerse Profile Picture

ManoVerse 56 Super User 2026 Season 1

#3
Niki Patel Profile Picture

Niki Patel 42

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans