Tips, Tricks, and Best Practices
This article is open for editing by the community and will serve as a placeholder for all the tips and tricks that don't need to have a full article dedicated to them.
Automatic Login
You can configure Workflow studio to login to a specific server/database with command-line arguments. Create a shortcut to wfs.exe that contains the server and database parameters as follows:
"C:\Program Files\Citrix\Workflow Studio\wfs.exe" server sql1 database wfdb
The parameters are not case sensitive and if they fail to connect the login screen will be displayed.
Renaming a workflow
If you need to rename a workflow you can download the Stand-alone Workflow Designer from the Workflow Studio SDK page. This utility provides access to a version of the Workflow Designer that works with workflows on the file system instead of the SQL database. There is a File...Save As option that will allow you to rename a workflow. Be careful using this utility - if you save a workflow with an invalid name (names are used in the workflow code) then you will render the workflow unusable.
Strong Name
This isn't really directly a Workflow Studio tip, but these are useful PowerShell scripts to get strong names for use with the Workflow Studio automation cmdlets.
Get the strong name for a specific assembly by filename [System.Reflection.AssemblyName]::GetAssemblyName("C:\Program Files\Citrix\Workflow Studio\WFS.exe").FullName Get the strong name for all assemblies in the GAC [appdomain]::currentdomain.getassemblies() | sort -property fullname | format-table fullname
Add Comment