Exporting process instance from one server and importing to another

  • 11 April 2017
  • 3 replies
  • 14 views

Badge +1

In our custom application which utilises K2, we have a lot of custom inline functions. Occassionally, we run into problems on our test servers which could have been easily resolved if we were able to debug the custom inline finctions.

 

Is there a way to export a whole process instance(including activites, process data etc.) and then import it to another K2 server(development environment) so that the workflow can be processed there? We are using K2 4.6.11 if that helps. Thanks in advance.


3 replies

Badge +10

Not exactly sure if I understand the problem.  The P&D wizard does package up the entire process for deployment.  However, maybe the issue is that custom inline functions are not packaged using the P&D wizard. Custom inline functions are required to be "installed" directly to the K2 Server bin folder "K2 blackpearlHost ServerBin" to execute at runtime.  To use the custom inline functions at design time when connected to the UAT environment the custom inline functions also need to be copied to "K2 blackpearlBinFunctions" folder.

 

Tim

Badge +1

Hi Tim

 

Thanks for replying. I need to export and import a process instance.

I explained the inline functions part to help understand the whole picture.

 

Regards

Aman

Badge +10

In that case the P&D tool is what you want to use.  

 

Note though that my advice about the custom inline functions will still apply.  You will need to ensure that the custom inline functions are installed in your other enviornments for your process to run correctly.  That is a one time administrative task that will need to be done.

 

https://help.k2.com/onlinehelp/k2blackpearl/UserGuide/4.7/default.htm#PackageAndDeploy/PackageAndDeploy.htm

 

Video that shows deploying a package that was already created.

https://www.youtube.com/watch?v=74-A7EJwX5w

 

Reply