Have been preparing for CLSA part 2 which is going to start in 2 days. Pega mentions that Activity Use to be avoided. I definitely agree on the same. But in some complex routing i feel that the extension activities could be used to do some data transformations.
There is no DT extension which pega provided. What do you suggest. In Work Parties lesson, it is mentioned we use the addWorkObjectParty in post Flow action. But why not in the assignment activity or routing activity itself. What should i do in such cases in my LSA exam.
In order to answer your question satisfactorily, you would have to give specific examples. I am unsure what you are referring to by " But why not in the assignment activity or routing activity itself. " Are you trying to create a custom routing activity to call the addWorkObjectParty activity ?
The basic guideline is to architect your application to be able to take advantage of the existing capabilities of the tool (eg. routing activities) as opposed to creating custom rules. This will lead to an application which is more easily maintained and upgraded.
It is good practice to architect in order to minimize the amount of custom rules created if possible.