Expression Rule in task report for column config is not populating the data

Certified Associate Developer

I am calling an expression rule in task report for the context of tasks assigned to owner by creating a new column with "Edit". This newly added column with the expression rule is not populating the data in the report, but the same is working as expected while passing the data.

Below is the code inside expression rule:

a!localVariables(

local!toDate: todate(ri!startTime),

local!days: tointeger((ri!toBeExpireDate) - (local!toDate)),

tointeger(todate(ri!startTime  + local!days) - todate(today())

)

startTime = tp!starttime from the report, toBeExpireDate = process variable (using this for calculating the no.of days left)

Please let me know if the expression rule can be configured for column within the reports. Also, please suggest if there are any other alternatives.

Note: Without calling the rule, I tried with the logic pasted above, but no luck.

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data