Hi,
I am trying to add the Value "Testing1" in Organization Field automatically when the status get changed.
For eg if the Status changed to "Waiting Internal" then Organisation field should automatically updated "Testing1"
Below is my script but its not working
*******************
def Organizations = getFieldByName("getFieldByName")
def status = getFieldById("getFieldById")
def customer = getFieldById("customfield_12345")
if (status.getValue() == "Waiting Internal")
if (customer.getValue() == "ABCD"){
Organizations.setFormValue("Testing1")
}