Startup events enable automating starting of a process before or after execution of a specific operation in the Comarch ERP Standard system.
Startup events differ depending on process type (local or global). They can be selected when adding a new process or when editing a process, by selecting [Startup Events] button, available in Model group of buttons.
![](https://help.comarch.com/standard/20225/wp-content/uploads/2021/07/bpm_working_with_process_startup_events_opening_window_for_selecting_startup_events.png)
A list of startup events grouped by names of objects available in the system is opened.
![](https://help.comarch.com/standard/20225/wp-content/uploads/2021/07/bpm_working_with_process_startup_events_list_of_startup_events.png)
On the left side of the window, it is possible to select those startup events, which will trigger a process. Along with an event, parameters can be sent to a process. They can be selected from the drop-down list of a given startup event. These values can be connected with parameters by means of mapping. Mapping section is located on the right side of the section containing startup event details.
![](https://help.comarch.com/standard/20225/wp-content/uploads/2021/07/bpm_working_with_process_startup_events_selection_of_event_parameter.png)
- CurrentStateType– current document status
- DocumentId– document ID
- DocumentTypeNamespace – parameter identifying document type
- PreviousStateType – previous document status
This parameter is generated for events of global processes only.