A bit type field is unexpectedly set back to the default value when you run a workflow rule to update some other fields of a record in Microsoft Dynamics CRM 4.0

Article translations Article translations
Article ID: 949732 - View products that this article applies to.
Expand all | Collapse all

SYMPTOMS

When you try to assign default values to some bit-attribute fields in Microsoft Dynamics CRM 4.0 Workflow Designer, one or more of the following problems occurs:
  • When you run a workflow rule to update some other fields of a record in Microsoft Dynamics CRM 4.0, a bit type field is unexpectedly set back to the default value.
  • When you try to assign default values to bit-attribute fields in Microsoft Dynamics CRM 4.0 Workflow Designer, the default values are not assigned to some fields as expected.
    • If the bit-attribute field is in the List Box format, the value that is assigned to the field is Undefined or Null.
    • If the bit-attribute field is in the Check Box format, no value is assigned to the field.
    • You can assign the default value to a bit-attribute field only if the field is in the Radio Button format.

CAUSE

This problem occurs because the bit-attribute fields are reset when a workflow rule is triggered against a record that updates a field in another form. However, the Jscript code only assigns a default value to a field whose class name is Radio Button. Therefore, if the class name of the field is List Box or Check Box, the default value is not assigned to the field.

RESOLUTION

This problem is fixed in the latest cumulative update rollup for Microsoft Dynamics CRM 4.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
949256 Microsoft Dynamics CRM 4.0 updates and hotfixes

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information about the terminology that is used to describe Microsoft software updates, click the following article numbers to view the articles in the Microsoft Knowledge Base:
824684Description of the standard terminology that is used to describe Microsoft software updates
887283 Microsoft Business Solutions CRM software hotfix and update package naming standards

Properties

Article ID: 949732 - Last Review: January 20, 2012 - Revision: 3.2
APPLIES TO
  • Microsoft Dynamics CRM 4.0
Keywords: 
kbfix kbautohotfix kbexpertiseinter kbmbsworkflow kbmbscustomization kbmbsmigrate kbqfe kbhotfixserver KB949732

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com