# 2421 - New / Start intervention

> MSS documentation · https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/services/2421-services-new-start-intervention
>
> Eventos EXT_2421 ao criar ou iniciar uma intervenção; o Replace usa outRunMSSCode e pode devolver a nova linha em outNewInterventionLine.

2421 - New / Start intervention

| Event | Extension action set | Description |
| --- | --- | --- |
| [Before ](https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/services/2421-services-new-start-intervention.md#before) | EXT_2421_1_Before | Will be executed before MSS starts a new intervention or press + button to create a new one; |
| [Replace](https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/services/2421-services-new-start-intervention.md#replace) | EXT_2421_2_Replace | Will replace MSS start or create a new intervention code, can be used also to create validations before MSS run the default code on the start of a new intervention using the output parameter outRunMSSCode; |
| [After](https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/services/2421-services-new-start-intervention.md#after) | EXT_2421_3_After | Will be executed after MSS runs the Start intervention code or after close the new intervention screen; |

### Before

_Input Parameters_

* inServiceExercise – Exercise of the service (SITEXR);
* inServiceSeries – Serie of the service (SITSER);
* inServiceNumber – Number of the service (SITNDC);
* inEquipmentLine – Line number of equipment (SITLEQ);

### Replace

_Input Parameters_

* inServiceExercise – Exercise of the service (SITEXR);
* inServiceSeries – Serie of the service (SITSER);
* inServiceNumber – Number of the service (SITNDC);
* inEquipmentLine – Line number of equipment (SITLEQ);

_Output Parameters_

* outRunMSSCode – when replacing MSS module must return 0(zero), if working as validations can return 1 so MSS starts or creates the intervention, 0 to ignore MSS code or -1 to abort the operation;
* outNewInterventionLine – Number of the new intervention when replacing MSS code;

### After

_Input Parameters_

* inServiceExercise – Exercise of the service (SITEXR);
* inServiceSeries – Serie of the service (SITSER);
* inServiceNumber – Number of the service (SITNDC);
* inInterventionLine – Line number of intervention (SITLIN);
* inEquipmentLine – Line number of equipment (SITLEQ);
