Hi Vic, Question: is there a known method for checking a condition in GEL and populating correctly a variable CDATA link where the entire URL is different based on some variable? Ans: Yes. you can validate the object type (Risk or Issue) and send the correct URL to requestor based on the object, for the same steps thro Gel Script.If Object type is Risk, only Risk object section is running. Not Issue object. Just change your existing scipt based on the below Gel Script:
SELECT ID OBJ_ID ,RIM_RISK_ISSUE_CODE OBJ_CODE, NAME OBJ_NAME, DESCRIPTION OBJ_DESC,
CASE WHEN TYPE_CODE='RISK' THEN 0 WHEN TYPE_CODE = 'ISSUE' THEN 1 END OBJ_TYPECODE
FROM RIM_RISKS_AND_ISSUES WHERE ID = ${gel_objectInstanceId}
${OBJVAL.rows[0].OBJ_ID}
${OBJVAL.rows[0].OBJ_CODE}
${OBJVAL.rows[0].OBJ_NAME}
${OBJVAL.rows[0].OBJ_DESC}
${OBJVAL.rows[0].OBJ_TYPECODE}
Dear Senthil Kumar, mail content + Risk Object URL (Based on your Requirement)
Dear Senthil Kumar, mail content + Issue Object URL (Based on your Requirement) ThanksSenthil.