Multiple Actor Filter Implementations For One Definition



If I create one Actor Filter Definition, and then create multiple Implementations of that definition, how does Bonita know which implementation to use? When I set an actor filter on a lane, I am only able to select an Actor Filter Definition, rather than an implementation. Is it advised to only create one implementation per definition? What if I want to have many very similar actor filters?

Thank you!

1 answer

This one is the BEST answer!

The definition of an actor filter define the expected input for the actor filter.

The implementation is chosen by click on the wrench icon in the Studio with the process pool selected. Note that for one given actor filter definition you can only reference one implementation in a given process definition.

If several actor filters shared similar logic I would recommend to create a shared Java library outside Bonita Studio and import this jar file as a dependency of your actor filter implementation.


Submitted by rtumminelli_1394599 on Wed, 04/10/2019 - 17:59

Thank you