##PortaltoSAIL Can we use, user as a context in getPortalReportDatasubset f

##PortaltoSAIL
Can we use, user as a context in getPortalReportDatasubset function?

getPortalReportDatasubset(
reportId: cons!REPORT_ID,
pagingInfo: local!pagingInfo,
contextIds: {ri!userName},
filters: {}
)

Note: ri!userName is of type user

Thanks!

OriginalPostID-149529

OriginalPostID-149529

  Discussion posts and replies are publicly visible

Parents
  • Thanks for the reply. Let me explain you the scenario.
    Simply am using this function inside a process to check whether any tasks are assigned to the user, here by default it checks for logged in user tasks. But the process is not launched/started by the user who logged in, this is an automated process which runs on a weekly basis so process would check tasks whoever started the process(User who published the model).
Reply
  • Thanks for the reply. Let me explain you the scenario.
    Simply am using this function inside a process to check whether any tasks are assigned to the user, here by default it checks for logged in user tasks. But the process is not launched/started by the user who logged in, this is an automated process which runs on a weekly basis so process would check tasks whoever started the process(User who published the model).
Children
No Data