Microsoft KB Archive/245726

= MOD2000: If You Change Workflow Procedure Name, You Must Change Name in Script Also =

Article ID: 245726

Article Last Modified on 7/31/2001

-

APPLIES TO


 * Microsoft Office 2000 Developer Edition

-



This article was previously published under Q245726



SYMPTOMS
If you change a validation script procedure name on the solution's workflow Design tab, you must also change all references to that validation script procedure name in the solution's Shared Script tab. Otherwise, if you try the solution functionality linked to the validation script procedure whose name was changed only on the Design tab, you may receive the following error message when you try to save changes:

VBScript:

Your changes were not saved. The form may contain missing or invalid information.

Unknown name.



CAUSE
Changing the validation script procedure name does not automatically update the references to this validation script procedure on the Shared Script tab.



RESOLUTION
If you change the validation script procedure name on the Design tab, change all references to the "old" validation script procedure name on the Shared Script tab.



Steps to Reproduce the Behavior
 From the Access Workflow Designer server computer, deploy the sample Issue Tracking solution. On the computer with the Access Workflow Designer developer components installed, open Access Workflow Designer. Open the Workflow Processes node. Click the IssuesWorkflow process. On the Design tab, click the Resolved workflow action. In the Validation script procedure combo box, change the validation script procedure name from State2_Validate_OnTransition1 to State2_Validate_Reactivate.</li> On the File menu, click Save Changes to save the workflow changes.</li> On the end-user client computer, set the server as a trusted site.For additional information on how to set up a trusted site on each client computer, click the article number below to view the article in the Microsoft Knowledge Base:

244318 MOD2000: How to Stop Error Message "This page accesses data on another domain..."

</li> Browse to the Gridview.htm file on the server web site.</li> Resolve an issue. You may need to create one first.</li> Save the change.</li> On the Issue Tracking - All Issues page, click the issue that you just resolved.</li> Click Activate to reactivate this issue.</li> Click Save. Note that you receive the error message mentioned in the "Symptoms" section.</li></ol>

Additional query words: prb vbscript unknown name validation procedure script rename change shared

Keywords: kbprb kbworkflowdesigner KB245726

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.