Question
Rabobank Netherlands
NL
Last activity: 8 Aug 2016 6:39 EDT
Best practice to use circumstance
Hi,
In my application in pega 7.2, I have a flow action connected to an assignment. I need to execute 2 different pre activities depending on a value of a property.
I have 2 option-
1>write an wrapper activity and call both pre activities from there using pre condition.
2>circumstance flow action rule depending on that property value and call respective pre activities .
I prefer number 2 to get run time execution advantage. but I want to know what could be the best practice.
Regards,
Siddhartha
***Updated by moderator: Lochan to update Categories***
Though option 2 may give you run time execution, option 1is a cleaner way of executing.
This scenario may not qualify the need for circumstancing of a flow action just to change the pre-activity!!