Edit the Script to define an action. You can insert the actions under the
contains
line of components such as a
Parser
,
Serializer
,
Mapper
,
Group
, or
RepeatingGroup
. Essentially, you can insert actions in any location where you can insert anchors, serialization anchors, or Mapper anchors.
The actions run in sequence with the anchors that you specify in the same location. In a parser, you can set the
phase
property of an action, which determines whether it runs in the initial, main, or final stage of the parsing process. For more information, see
Search Phases.