K2 BLACKPEARL PRODUCT DOCUMENTATION: USER GUIDE
Code Reference Event Wizard Overview

The Code Reference Event Wizard

The Code Reference Event wizard is aimed primarily at workflow developers. The wizard provides the workflow developer with the ability to consume process references in a visual manner as opposed to writing code. This increases efficiency and effectiveness as coding errors are lessened by the visual presentation. The Code Reference Event wizard makes it easy to use referenced classes and assemblies during runtime.

Customized constructors can be created for use in the wizard by creating a new Class Library project in Visual Studio. Once the project has been built. MS Build will emit a Class Library (Assembly) as output. If you created a class in your project, a constructor is used to create a new instance of your class - an object instance. The same applies to assemblies from 3rd parties. The References wizard will reflect the assemblies referenced by the current process.

Properties are assigned during invocation of the referenced methods. Specifically, these properties are mapped to data fields and XML fields on the process. Depending on how the event has been configured, these XML fields and data fields may be altered during the runtime execution of the reference event. These results can then be used in line rules etc.

See Also

Reference - CodeReferenceEvent

 

 


K2 blackpearl Help 4.6.11 (4.12060.1731.0)