Question

3
Replies
567
Views
Close popover
Rob McCallum (MCCAR1)
PEGA
Sr. System Architect
Pegasystems
GB
MCCAR1 Member since 2009 26 posts
PEGA
Posted: November 25, 2016
Last activity: November 25, 2016
Closed

How can CallVirusCheck get its caller context?

My customer would like to restrict case attachments to Excel spreadsheets only.

There is an extension activity Data-WorkAttachFile.CallVirusCheck that is intended to be saved into the application ruleset and extended with custom checks e.g. checking for viruses. We could implement the customer requirement by placing a check on the file extension in this activity - simple.

However CallVirusCheck is called in many contexts: including uploading image files to profile, uploading files to Pega Pulse, etc. It is very general. The customer only wants to restrict to Excel in situation of case attachments.

How can CallVirusCheck know from where it was called?

Case Management Security
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.