TurboIntegrator process comments starting with #Section or #Region should be modified before upgrading from Perspectives/Architect to Planning Analytics Workspace

TurboIntegrator process comments starting with #Section or #Region can cause issues in the Planning Analytics Workspace process editor.

Issues occur because #Section and #Region are reserved keywords in processes. If your TurboIntegrator process script includes comments starting with #Section or #Region, you should modify such comments before attempting to open the process in the Planning Analytics Workspace process editor.

The easiest way to modify an offending #Section comment is to insert a space between the # character and the first letter. #Section can cause issues in the editor; # Section does not.

#Region is a slightly different case. You can use #Region with a corresponding #EndRegion to create a collapsible and expandable region of code in the process editor. For example:

#Region  Dimension Creation

vDimensionName = 'testDimension';
IF ( DimensionExists ( vDimensionName ) = 0 ) ;
DimensionCreate ( vDimensionName ) ;
ENDIF ;

#EndRegion

This example results in a block of code that can be expanded and collapsed by clicking the Expand/Collapse control.

Example of an expandable Region block in the process editor.

If you want to use #Region to create an expandable/collapsible block of code, you must ensure that #EndRegion is present at the end of the code block.

If you want to use #Region as a general comment, you must insert a space between the # character and the first letter. # Region is acceptable as the beginning of a comment and does not require that a closing #EndRegion be present.