Question

6
Replies
880
Views
ErvinL46 Member since 2015 14 posts
Saltech Consulting
Posted: 2 years ago
Last activity: 2 years 8 months ago
Closed

How to implement interfaces in Pega

We have a requirement on a project that certain cases need to implement a functionality (handling documents notifications).

In Java this would be handled via an interface (and a method "handeDocument(...)" ).

I Pega we could have an activity but it's hard to enforce a contract just as an interface does. One solution is to have a common abstract class with an abstract method but when not all of the cases have to implement the method this would not work.

Any suggestions?

Data Integration Java and Activities
Moderation Team has archived post
Share this page LinkedIn