Skip to content

/AWS1/CL_KN2=>ROLLBACKAPPLICATION()

About RollbackApplication

Reverts the application to the previous running version. You can roll back an application if you suspect it is stuck in a transient status or in the running status.

You can roll back an application only if it is in the UPDATING, AUTOSCALING, or RUNNING statuses.

When you rollback an application, it loads state data from the last successful snapshot. If the application has no snapshots, Managed Service for Apache Flink rejects the rollback request.

Method Signature

IMPORTING

Required arguments:

IV_APPLICATIONNAME TYPE /AWS1/KN2APPLICATIONNAME /AWS1/KN2APPLICATIONNAME

The name of the application.

IV_CURRENTAPPLICATIONVRSID TYPE /AWS1/KN2APPLICATIONVERSIONID /AWS1/KN2APPLICATIONVERSIONID

The current application version ID. You can retrieve the application version ID using DescribeApplication.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_KN2ROLLBACKAPPLICAT01 /AWS1/CL_KN2ROLLBACKAPPLICAT01