Unable to put IF condition in one of the application

Trying to apply a condition in one of the web application as mentioned below.
Steps:

  1. I have to click on DRAFT-37 checking the Abnormal Status “Draft”.
  2. If the abnormal status is “Draft” then I have to click on any DRAFT NUMBER(DRAFT-37)

How to achieve this in Katalon Studio. Please help me.

Capture1

If you are having a concern on how to create an if statement then perhaps the below.

If you can get an pathway to the Draft cell, then you may do something like:

if (WebUI.verifyElementText(findTestObject('...'), "Draft")) {
  blah, blah, blah

Another way to get both columns is to treat them like a web table.

if the above doesn’t answer your question, then we probably need more information and some HTML, likely the latter.