• Task
  • Version · 4.33
  • User Guide

Write Dynamic Status Messages for Custom policy checks

Last updated: August 11, 2026

Before you begin

Procedure

1

Initiate the customization process.

liquibase checks customize --check-name=your_check_name
2

Set a SCRIPT_MESSAGE.

3

In your Python script, use Liquibase Python Modules to define variables for your message.

loading
loading
4

Send your dynamic status message to the Liquibase API.

liquibase_status.message = status_message
Example script
loading