Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Duplicate Parameter Value in Expected Rule Entry Object


Symptoms

The Expected Rule Entry objects created for a given Synchronization Rule are being populated with a duplicate parameter values.

↑ Back to the top


Cause

The Lookup button in the Synchronization Rule Activity designer does not replace text that is currently in the Parameter text box, thus allowing a duplicate to be easily inserted.


Viewing the parameter box does not usually show the problem, as the textbox is too small to see the complete parameter address reference for the first entry.

↑ Back to the top


Resolution

If there is a value in the Parameter text box in the Synchronization Rule Activity designer, clear the textbox before using the Lookup button to set the parameter value

↑ Back to the top


More Information

In the screen shot displayed below, notice the value of the initPWD(string) parameter has had the value scrolled so it shows two entries.


Syncnronization Rule Activity Designer - Duplicate Value in initPWD parameter

Steps to Reproduce
  1. Create a Synchronization Rule Activity targetting a Sync Rule with at least one parameter
  2. Use the Lookup button to reference a parameter such as:   [//WorkflowData/ParamTest01]
  3. Click to save the parameter from the Lookup dialog
  4. Click the Lookup button again to change the name of the parameter to: [//WorkflowData/ParamTest02]
  5. Click to save the parameter change

Results:
The parameter reference text box now has two parameter references in it ([//WorkflowData/ParamTest02][//WorkflowData/ParamTest01]), although since the text box does not show more than "[//WorkflowData/ParamTe" there is nothing that indicates there is a problem.

Even if we were able to see the full first parameter, the expectation is that the new value would have replaced the old value.

Expected Result:
The parameter reference written by the Lookup button would replace the current text of the associated parameter textbox.

↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 2441901
Revision : 1
Created on : 1/7/2017
Published on : 10/29/2010
Exists online : False
Views : 562