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

Notifications

Announcements

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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
iampranjal Profile Picture

iampranjal 76

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 47 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 40 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans