Does the version information within the comment/annotation section of a Custom Process (CPM) script affect processing?
Process Designer, Custom Process Model (CPM) / Service Process Model (SPM)
All product versions
The version information within the comment/annotation section of a Custom Process (CPM) script does affect processing. The following is an example of this required section of a CPM script customization:
* CPMObjectEventHandler: NameOfScript
* Package: RN
* Objects: Incident
* Actions: Create
* Version: 1.2
* Purpose: The documented purpose of the script
This is an example of a matching connect library to include to match the above example:
use \RightNow\Connect\v1_2 as Connect;
use \RightNow\CPM\v1 as RNCPM;
Notice the 'Version: 1.2' matches the version indicated in 'use \RightNow\Connect\v1_2 as Connect'. Currently the Process Designer will allow for a mismatch between the version indicated and this causes the process to start with one Connect version and then convert to the included library version at runtime.