Process Flow - Script blocks for Groovy
Start Script Block
Define Variables & Logic
Execute Statements in Order
Return Last Expression Result
End Script Block
A Groovy script block runs code inside braces { } sequentially, defining variables and executing statements, returning the last expression's value.