Model Templates : Activity Interface Report : Activity Interface Report Segment Section : Declarations

Declarations

The declaration section consists of variables used to construct the list of element inputs and outputs. The first four variables—af_list, ev_list, co_list, and di_list—represent lists of a-flow-line elements and the events, conditions, and data-items that flow along them. The next two variables, in_list and out_list, represent the union of the list of elements represented by the variables ev_list, co_list, and di_list. The variable in_list represents a combined list of input elements. The variable out_list represents a combined list of output elements.

The next variable, elm, is used to extract elements from lists of elements using a FOR/LOOP. The last variable, elm_type, is an enumerated type that is declared as an integer. It represents the element type and is used in conjunction with a SELECT/WHEN construct to write out the type for each element in the list of inputs and outputs.