local variable not updating in site

Hi team,

code :

local!testdata: rule!getdata(ri!input)

,


local!finaldata:index(
local!testdata,
wherecontains(
user(loggedInUser(),"email"),
touniformstring(property(local!testdata,"email",""))
)
)

When I run text this code in interface in appian designer it works fine both local variables show data there but when I run this interface in Site at run time only local!testdata gets filled and local!finaldata remains empty.

Please Help

  Discussion posts and replies are publicly visible