Ankur Bawiskar
Tera Patron

@Tamilvanan T 

I believe application name is a variable on your catalog form and it's reference type

if yes then update as this

answer = ifScript();

function ifScript() {
    if (current.variables.application_name.getDisplayValue().indexOf('OpenText') > -1) {
        return 'yes';
    }
    return 'no';
}

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post