Workflow and ServiceDesk Community

 View Only

Workflow - Plugin - Developer Guide - Deploy 

Jul 11, 2017 02:38 PM

In this Article I'm going to explain how to deploy the Plugin to a Workflow.png Workflow server.

Table of Contents

 

 

From the Guide:

Publishing a plugin
To publish a plugin
1 Publish your DLL plugin from Workflow Designer.
   See “Creating a plugin for Process Manager in Workflow Designer” on page 195.
2 Move the published DLL plugin into the DLL containing your plugin class in the C:\Program Files\Altiris\Workflow Designer\Designer\Plugins directory.
   If the plugin is in this folder, Symantec Workflow can retrieve it and load it on startup.

This path might be different so change to yours.

 

Build your component, in Visual Studio.

Build | Build Solution (Ctrl+Shift+B)

Check the output path from the 'Output | Build' window.

E:\WF\Protirus.Workflow.Plugins\Protirus.Workflow.Plugins\bin\Debug\Protirus.Workflow.Plugins.dll

Copy the dll and add it to a folder on your WF Server.

You could create a Build Event that copies the output to the WF Server.

Properties | Buld Events | Post-build event command line:

VS - Build Events.png

xcopy "$(ProjectDir)$(OutDir)$(TargetName)$(TargetExt)" "\\WORKFLOWSERVER\e$\Program Files\Symantec\Workflow\Designer\Plugins\" /Y

This can run into problems once the WF manager is running or a Project is open, as the DLL is in use so the /Y flag can't overwrite the file.

You will need to close the Project/Manager and copy again.

One option would be to have a holding folder somewhere on the server which you copy to.

 

Protirus.png

Statistics
0 Favorited
2 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Related Entries and Links

No Related Resource entered.