Scripting Approvals with Java or Groovy