service method PrepareRollback [SWS_SM_91105] Upstream: RS_SM_00001, RS_SM_00004
PrepareRollback (IN FunctionGroupListType functionGroupList)
Has to be called by Update And Configuration Management after State Management allowed to update.
The service method PrepareRollback of the service interface UpdateRequest is called by Update and Configuration Management to prepare the rollback of changes for the function groups of a software cluster passed in parameter functionGroupList [SWS_SM_91105]. The call is made without fire-and-forget semantics, so that State Management reports the result of the preparation back to the caller [SWS_SM_91105].
Fixed conditions apply to the call and error handling:
- Session context: The call is only permitted within an active update session. If it occurs outside an active session, State Management rejects the operation with error
kOperationRejected[SWS_SM_00213]. - Application errors: In addition to
kOperationRejectedin case of an invalid internal state, the method can returnkOperationFailedif preparation fails [SWS_SM_91105].
In the state model, the method call has direct effects on the participating state machines:
- State machines that manage one of the passed function groups are marked as
ImpactedByUpdateby the controlling process [SWS_SM_00654]. - If a state machine of type
Agentis marked, this status also transitively transfers to the parentController[SWS_SM_00655]. - For state machines marked as
ImpactedByUpdate, reported execution errors (ExecutionErrorEvent::executionError) are not handled via recovery, but are ignored and merely logged [SWS_SM_00664].
This usage note was generated automatically based on the AUTOSAR specification.
Implementer's Guide to follow (complexity I2)
| Scope | service interface UpdateRequest |
|---|---|
| Fire & Forget | false |
| Version | 1.0 |
Parameter
| Name | Richtung | Typ | Beschreibung |
|---|---|---|---|
| functionGroupList | IN | FunctionGroupListType | The list of FunctionGroups within the SoftwareCluster to be prepared to roll back. |
Application Errors
| Fehler | Beschreibung |
|---|---|
| kOperationRejected | Requested operation was rejected due to State Managements/machines internal state. |
| kOperationFailed | Requested operation failed. |
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_SM_91105- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_SM_91105@rel:R25-11#f02cfbd6- Content hash
f02cfbd6- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_StateManagement.pdf#nameddest=SWS_SM_91105
Status: valid/unmigrated
Version: rel:R25-11#bee04545
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_91105@rel:R25-11#bee04545
Recorded Revisions (3):
- R25-11
rel:R25-11#f02cfbd62026-09-30 - R24-11
rel:R24-11#37f538e72026-10-14 - R25-11
rel:R25-11#bee045452026-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