Custom Code in K2 Project


Badge +1

Hello people,


Can somebody tell me "if" and "how" I can place custom classes with code in my K2 project.


Best regards,


Guido Pater


screenshot-k2.png


2 replies

Badge +6

Hi Guido,


You can compile your project as an assembly. Then you can add your custom assembly to your K2 process using the "project reference" icon (top righ of the design area). Then you can use it in your server event code.


HTH

Badge +1

Hi Jan,


Thank you for your prompt reply.


One more question: What will happen with the assembly when deploying the process. Will it be deployed also, or do I have to place the (.dll) somewhere on the server?


Best regards,


Guido

Reply