Hello Mates,
Seeking your help to get solution, i have used else if function to automate custom field based on some fields, which is partially working. This is based on financial year selection with few conditions (custom fields).
if (cfFY.getValue() == "22/23"){
if (cfAccountAssignment.getValue() == "Capitalsheet"){
if (cfLocation.getValue() == "UK"){
if (cfPPCLocal.getValue() == "VPC"){
switch (cfFinanceService.getValue()){
case "Application Testing & QA" : cfAssetCostCenter.setFormValue("90000009");break
========================================================
This above script is working but below with FY 23/24 is not working with similar functionality
================below is not working
if (cfFY.getValue() == "23/24"){
if (cfAccountAssignment.getValue() == "Capitalsheet"){
if (cfLocation.getValue() == "UK"){
if (cfPPCLocal.getValue() == "VPC"){
switch (cfFinanceService.getValue()){
case "Application Testing & QA" : cfAssetCostCenter.setFormValue("900000100");break