Hi @Ankur Bawiskar ,

I have checked it, it is returning -1 due to which it is going inside if loop. This is the URL of my catalog item

find_real_file.png

As I am using the same sys_id in the if condition, not sure why indexOf is returning -1.