English
Groovy Code Example
About 73 wordsLess than 1 minute
2026-01-09
String execute = checkinActionArg.executed as String //Two states: executed or notExecuted
String remake = checkinActionArg.remake as String //Field only available after grayscale AI remake, default is noRemake. Values: noRemake or remake
Map result = [:]
if (execute == "executed") {
if (remake == "remake") {
result.put("context", "This action has suspected remake images, recommend re-shooting")
result.put("color", "0000FF")
}
} else {
result.put("context", "Remember to execute this action")
result.put("color", "0000FF")
}
return result