K2 BLACKPEARL PRODUCT DOCUMENTATION: USER GUIDE
Process Finish Rule

K2 Designer for Visual Studio 2012 - Process Rules - Finish Rule

The Process Finish Rule can be accessed by clicking on the icon in the Process Title Bar

The Process Finish Rule Wizard allows the process creator to insert custom code within the process Finish Rule. The Finish Rule allows through code execution to keep the process alive, for example, GOTO a different activity rather than letting the process complete.

There are no advanced UI features and no default code. Viewing the code for the rule will present the Finish Rule class code file, it is up to the process creator to create the custom code.

Option What it is How to use it
Enable Process Finish Rule Enabling this option allows the process creator to add custom code to the process Finish Rule Click on the check box, then click on View Code to load the XOML screen. Insert the required code within the process Finish Rule (see below)

The process Finish Rule is not a required feature. If no process Finish Rule is configured, no validation will be performed once the process is complete, and the process will complete as if the rule evaluated to True.

Editing the Custom Code

Clicking on the View Code button will load the Finish Rule class code file.

Insert the custom Finish Rule code within the file and save it.

 

 


K2 blackpearl Help 4.6.11 (4.12060.1731.0)