Quantcast
Channel: Project Customization and Programming forum
Viewing all articles
Browse latest Browse all 5347

Custom workflow solution : How to handle different GUID of each environment into single solution package

$
0
0

I have created the workflow solution in development. I need to pass the stage GUID's as arguments to the workflow. I added that into COnfigurationManager.appsettings but getting error as

Error 1 Could not create activity of type 'EngWorkflowSolution.Workflow1.Workflow1'. System.ArgumentNullException: Value cannot be null.
Parameter name: g
   at System.Guid..ctor(String g)
   at EngWorkflowSolution.Workflow1.Workflow1..ctor() C:\Project Server Workflow\EngWorkflowSolution\EngWorkflowSolution 1 1 


Do I need to add these values in Microsoft.Office.Project.Server.Queuing.exe.config file. If yes, how can I do it?

In web.config file I added as

 

 <add key="InitiationStageUid" value="24427350-81f5-4fe3-97d9-f72a4aecfbb2" />

In workflow solution I added it as

public Guid InitiationStageUid = new Guid(System.Configuration.ConfigurationManager.AppSettings["InitiationStageUid"]);

 

Else is there any other way to create workflow solution package environment free?

 

Right now I have to create the workflow solution package for each environment with respective GUIDs.


Viewing all articles
Browse latest Browse all 5347

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>