I'm using an activity whitin a service REST method and for this reason I'm getting a moderate warning saying that the use of activity rules should be limited. How can I avoid that? I'm forced to use a custom activity and there is no "activity type" that fit this requirement (I wouldn't like to set it as an utility type).
Even Pega says to keep the Type as "Activity" if functionality doesnt fit within available types and also since Utility type of activities are supposed to run without user interaction I think you can change it to Utilities if you really care the warning. totally up to you. Cheers !
Those are guardrail warnings,If your compliance score is more than 85% then you can justify it else try to rectify other guardrail warnings. This use case is very specific & you are bound to use activity inside a service rest hence you do not have any other option instead justifying it.