Dynamically Set Email Importance in K2
In some cases, we have a requirement to change the importance of an email based on custom conditions. Using the K2 email event wizard configuration, we can set the importance of an email but it will be applied to all the email notifications.
K2 Automated Testing Software
rnBenchQA allows full test automation of K2, including fully automated K2 SmartForms and K2 Workflow testing. It promotes test driven development for K2 and ensures continued quality assurance for K2 solutions. Easily apply changes to test cases to accommodate changes to K2 apps and ensure all apps are regression tested to avoid defects and assure continuous quality.
This blog will show you how to set importance of an email dynamically. In this blog we will modify the code of an email event within the process. The following example is implemented in K2 5. This is applicable for other versions of K2 as well.