Script References

In order to run a script, the Workflow Server must be able to resolve any references that the script uses. Similarly, in order to test a script, the Workflow Designer must be able to resolve any references that the script uses.

  • If the Workflow Server cannot resolve a reference, you will get a publishing or runtime error. To resolve this error, put a copy of the reference in one of the following locations on the Workflow Server:
    • The location specified in the Details of the assembly on the Workflow Server. (To view the assembly details, right-click a reference and select Details.)

    • In the Global Assembly Cache on the Workflow Server.

    • In the executing directory of the Workflow Server.

    Note: When browsing for a reference, the ClosedBrowse for file dialog box will show the file system of the computer that the Workflow Server is on. You must have file browsing enabled in the Workflow Administration Console to browse for a file on the Workflow Server.

  • If the Workflow Designer cannot resolve a reference, a warning icon will appear next to the reference. To resolve this warning:
    • Put a copy of the reference in the location specified in the Details of the assembly. (To view the assembly details, right-click a reference and select Details.)

    • Alternatively, you can change the specified location by right-clicking the reference and selecting Resolve to browse to the new location or replacement assembly reference file. However, using the resolve action will also change the specified location for the Workflow Server.