service method RequestTransition [SWS_SM_91107] Upstream: RS_SM_00001, RS_SM_00004
RequestTransition (IN TransitionRequestType TransitionRequest)
Has to be called by a SMControlApplication to request a change in the referenced StateMachine.
use
The service method RequestTransition is called by a SMControlApplication on the interface StateMachineService to request a state change of a referenced StateMachine ([SWS_SM_91107], SWS StateManagement §7.7 “SMControlApplication”). TransitionRequest is passed as a parameter. The method has return values and does not operate according to the fire-and-forget principle. State Management maps the input value via the TransitionRequestTable to a subsequent state depending on the current state ([SWS_SM_00607]) and requests the resulting Function Group States from Execution Management via SetState() (AP EXP SWArchitecture §11.1 “Change System State”).
Error handling
In case of an error, processing is aborted and RequestTransition returns specific application errors ([SWS_SM_91107]):
kInvalidValue: The passed value forTransitionRequestis not configured in theTransitionRequestTable([SWS_SM_00604]).kTransitionNotAllowed: Starting from the current state of theStateMachine, the transition is not permitted according to the configuration ([SWS_SM_00603]).kRecoveryTransitionOngoing: An internal error cleanup is active, which is why the request is not processed further ([SWS_SM_00605]).kUpdateInProgress: The state change is not permitted during an active update session ([SWS_SM_91107]).kTransitionFailed: An error occurred during the processing ofActionListItems([SWS_SM_00650]).
Concurrency and Limitations
If a new transition request is accepted while an earlier RequestTransition call is still pending for the same StateMachine, the previous request is cancelled and acknowledged with kOperationCanceled ([SWS_SM_00606]). Time-triggered actions such as Sleep ActionListItem do not block incoming triggers; a RequestTransition call can therefore trigger a state change even during such a waiting time (SWS StateManagement §7.7.9 “ActionListItem Sleep”).
This usage note was generated automatically and is based exclusively on the specifications of AUTOSAR R25-11.
Implementer's Guide to follow (complexity I2)
| Scope | service interface StateMachineService |
|---|---|
| Fire & Forget | false |
| Version | 1.0 |
Parameter
| Name | Richtung | Typ | Beschreibung |
|---|---|---|---|
| TransitionRequest | IN | TransitionRequestType | Represents the value to be used as TransitionRequest value in the Transition RequestTable. |
Application Errors
| Fehler | Beschreibung |
|---|---|
| kInvalidValue | The provided value is not mapped to any transition. |
| kTransitionNotAllowed | Requested transition is not possible from current StateMachine state. |
| kRecoveryTransitionOngoing | Request will not be carried out, because currently recovery is ongoing. |
| kTransitionFailed | During transition to the requested state an error occurred. |
| kOperationCanceled | The request was replaced by a newer one and therefore it was cancelled |
| kUpdateInProgress | Requested operation is not allowed as update session is in progress. |
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_SM_91107- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_SM_91107@rel:R25-11#a5b9b5c3- Content hash
a5b9b5c3- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_StateManagement.pdf#nameddest=SWS_SM_91107
Status: valid/unmigrated
Version: rel:R25-11#d4767b6b
Versionshistorie & Revisions (1 transition, 3 revision)
- Current State
valid/unmigrated- Reason
- mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
- Campaign
2026-08-13-status-backfill- Active Version
AUTOSAR/AP/record/SWS_SM_91107@rel:R25-11#d4767b6b
Recorded Revisions (3):
- R25-11
rel:R25-11#a5b9b5c32026-09-30 - R24-11
rel:R24-11#75ea2a2c2026-10-14 - R25-11
rel:R25-11#d4767b6b2026-10-14 active
Requirement Text as-of this release:
Curation Decisions:
Reachable Artifacts & Dependents:
| Date | Actor | Transition | Reason / Rationale | Campaign |
|---|---|---|---|---|
| 2026-08-13 | tool | none → valid/unmigrated | mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record | 2026-08-13-status-backfill |
gemini-3.8-flash-low· 2026-10-13 · German original