Hello K2 Community,
I'm currently migrating workflows from K2 BlackPearl 4.7 to K2 Five 5.8 and need guidance on updating a specific workflow pattern in K2 Designer.
Current Implementation (BlackPearl 4.7):
Our existing workflow uses the following pattern:
- Invokes a Code Reference Event to execute custom logic
- Loads the returned data into an HTML-formatted variable
- Passes that HTML variable to an Email Event for delivery
Migration Challenge:
I'm new to both K2 BlackPearl and K2 Five, and I'm not sure how to replicate this pattern in K2 Five 5.8's Designer. Specifically:
- What's the recommended approach for Code Reference Events in K2 Five?
- Are there any breaking changes or differences in how data is handled between the two versions?
- What's the best practice for building dynamic HTML content in K2 Five before sending emails?
I've attached the relevant workflow snippets from our BlackPearl implementation for reference.
Thank you for any guidance!


