In my process, I need to update two InfoPath forms at the completion of each step of the process (custom status flags). There is some bit of logic involved here that I absolutely hate to duplicate in each step, and I would love to make a common method that accepts parameters and performs the update, so I could just call this method in every step passing the appropriate parameters. Is there a way to make process level methods, accessible by 'server code' events?
The only way I can see it right now is to create a seperate class lilbrary project with this method and add a reference to this library in the K2 project. I cannot add my own classes to the K2 project, at least not by obvious means.
