if(assignedto == var1)
{
var2 = value.get("id");
}
else if(assignedto != var1)
{
alert("unable to fetch");
}
alert function is not working in the deluge script inside if condition is there any option for doing the alert function in the deluge
There are some contexts where alert doesn't work. That may or may not be the case in the code above. Try replacing the
alertwith aninfostatement to see if it will display some information.Example code:
info "unable to fetch: assignedto: " + assignedto;Also maybe change the
else ifto anelseto fully capture every case whereassignedto == var1is false.