Posted: 23 Dec 2018 9:46 EST Last activity: 8 Jan 2019 13:47 EST
Activity vs other suitable rules
Whenever i create an activity i get a warning saying that you should try to achieve it in other suitable rules if possible, why i try to find the reason all i get it is "Activities are hard to maintain and complex".
Can someone please explain me what is that which makes Activities hard to maintain and complex compared to a data transform or a validate rule.
***Edited by Moderator: Pallavi to update platform capability tags***
Yes, Pega is not the coding language and Pega should write the code not the end user. But in each rule you can find the expression builder to write the Java code which is provided as a work around to the end user, as we can't achieve everything through non-java. In activities we have features like entry & exit conditions, Jump conditions, calls to other activities through which its hard to debug and manage the code by the developer, that is the reason we recommend to have at max 25 steps in an activity and activity should be used if no other rule can fulfill your requirement.