LPS-51331 - Change ftl logic to include functions
LPS-51331 SF