The primary mapping file of a flow is the default mapping file for the flow. It is created automatically the first time that the flow is saved and it has the same name as the flow. (Thus flow MyFlow_0001, stored in MyFlow_0001.seqflow, has the primary mapping file MyFlow_0001.sfmap.)
A terminal flow can access only those mapping routines that are stored in its primary mapping file (see Terminal flow). Therefore all the mapping routines for a terminal flow must be stored and are stored in the primary mapping file of the flow.
In contrast, a nonterminal flow can access not only the mapping routines in its primary mapping file but also mapping routines in any other mapping file in the service flow project (see Nonterminal flow). This allows you to create a common library of mapping routines stored in a separate standalone mapping file that is accessed by multiple nonterminal flows.
The primary mapping file of a flow is created automatically the first time the flow is saved, either in the host editor (terminal flows) or in the flow editor (nonterminal flows).
You use the mapping editor to open a mapping file and create or modify mapping routines and mappings (see Mapping editor).