Rushit patel4
Mega Contributor

Hi Guys,

So I ran into this issue for Setting up the IF condition for grabbing Value from List collector I somehow managed to resolve the issue.

Please use this Script if you are having similar issues.

Please Mark if this is helpful.

 

Thanks

 

find_real_file.png

 

answer = checkValue();

function checkValue() {

    var values = current.variables.What_type_of_change_are_you_requestin.toString(); // name of variable

    var split = values.split(",");

    var X = '526f87031bac78102cf898221a4bcb27';  //Email address change (sysid of choice)

    var arrayUtil = new ArrayUtil();

    var value = arrayUtil.contains(split, X);

    if (value)

        return 'yes';

    else

        return 'no';

}

Version history
Last update:
‎11-09-2021 12:05 PM
Updated by: