AnsweredAssumed Answered

Reading Calculated Attribute in GEL Script?

Question asked by SanjayKoshtiDiscover on Apr 27, 2017
Latest reply on May 2, 2017 by SanjayKoshtiDiscover

We are developing a process and need to read Calculated Attribute (e.g. Risk Score) in the GEL script to compare with Threshold in GEL Parameters and update another attribute.
We tried few ways of capturing the calculated attribute in GEL script but not able to.
Is there any way to capture calculated attribute in GEL script?
Our design in based on ability to do the same, please update


Following code does not read the calculated attribute

<gel:script xmlns:SOAP-ENV="" xmlns:core="jelly:core" xmlns:gel="jelly:com.niku.union.gel.GELTagLibrary"
xmlns:sql="jelly:sql" xmlns:xsi="">
<!-- Get Validables -->
<core:set value="${project.thisProject.dfs_risk_score}" var="l_totalRiskScore"/>
<core:set value="${thisProject.dfs_risk_score}" var="l_totalRiskScore1"/>
<core:set value="${project.dfs_risk_score}" var="l_totalRiskScore2"/>

<gel:log>project.thisProject.dfs_risk_score = ${project.thisProject.dfs_risk_score}</gel:log>
<gel:log>l_totalRiskScore = ${l_totalRiskScore}</gel:log>
<gel:log>l_totalRiskScore1 = ${l_totalRiskScore1}</gel:log>
<gel:log>l_totalRiskScore2 = ${l_totalRiskScore2}</gel:log>