WebUi.click error in loop

Hi All,
My page has got for a listing multiple row items and on clicking a html element it opens the further details for that listing
The xpath set is //[@id=“propInfo”]/div/div[${id}]/div[1]/a
When I try to click the element Katalon throws the below error
com.kms.katalon.core.webui.exception.WebElementNotFoundException: Web element with id: ‘Object Repository/ibtn’ located by 'By.xpath: //
[@id=“propInfo”]/div/div[${id}]/div[1]/a’ not found

Pleae guide on why WebUI.click throws error

Used the Util.jsClick(myTestObject) javascript method mentioned here

[TIPs] TestObject cannot be clicked and got it working


print this value before assign it
is it wanted?

Thanks, two problems in my script handling. One was that the id was wrong and second was with my anchor element having javascript:void the onclick was failing. Was able to resolve them using the above mentioned link