Hi all,
Can PQL Statements be used in variables in a knowledge model?
In Process Analytics that works like in this example:
PQL Statement:
CASE
WHEN <%= PROCESS_GRANULARITY %> = '<%=PE_CENTER_ACTIVITY%>'
THEN <%= PROCESS_GRANULARITY %>
END
Variable <%= PROCESS_GRANULARITY %> :
CASE
WHEN PU_FIRST("TM_Activities", "TM_Labeled_Data"."AppView") != 'Unlabeled'
THEN PU_FIRST("TM_Activities","TM_Labeled_Data"."AppView")
END
But I can't find a way to do this in a Knowledge model. Is there a way to do this with KM Variables or KPIs?
Thanks a lot!