# Force Grouped Execution

You can design an action which can be executed in stepwise and grouped execution mode.

When using various flow control statements to execute an action you have the option of specifying grouped execution. If Grouped is not specified the current mode will be applied to the action being run.

When starting an action from the user interface it is always initially in stepwise mode.

If you want to ensure that an action is always run in grouped mode, you can place a Force Grouped Execution statement in the action. The statement must be the first line in the action file. All other instances of the statement are treated as errors.

Note that this statement cannot be used with inline actions. When you call an inline action its execution mode is either inherited or implicitly specified.

If you wish you can enter a comment with the statement. The comment field supports the inclusion of markup sequences from the context menu. These sequences are only meaningful if the content is being displayed at runtime after being extracted by an escape sequence (\at or \a2).