Need of Process Wise String Table in Black Pearl

  • 24 April 2011
  • 1 reply
  • 0 views

Badge +1

We are in the process of migrating our existing K2.net 2003 application to K2 BlackPearl, in our existing environment we have different K2 processes and each K2 Process has its own String Table. In K2 string tables there two columns one is "Name" and other is "Replace with", in all our process some string table name column values are same but process wise their "replace with" values are different.
---------------



In continuation with the above post, our current environment is K2.net 2003, I am exporting workflow from my old K2 (K2.net 2003) to black pearl using K2 2003 Studio.  In our existing environment we have same string table key or name but values are different in different processes.


In the below example I have used the same name i.e “ApplicationPath” but in different workflow it has different values, in Example 1 the value is http://server1 and in Example 2 the value is http://server2


Example 1




 String Table


ApplicationPath = http://server1



 



 



 



Process Name= Archive Email


String Table


ApplicationPath = http://server2


 



1 reply

Badge +11

You can do this in blackpearl.  By default, there are two environments created:  Development and Production.  Just create more environments.  For example, create environments Dev_Process1, Prod_Process1 and whatever other environments you have, once for each 2003 process.  When a process is deployed you set the environment and that process uses the string table for that environment.  Then when you deploy, using msbuild for example, use the environment switch:


msbuild Process1.msbuild /p:Environment=Prod_Process1


I know there is a K2 whitepaper that says you can only have one environment for all deployed processes.  That is not correct and it is being revised.  Each process that is deployed can use a specified environment without affecting any other processes that are already deployed.

Reply