To set a status in an activity (utility) that can be evaluated during flow transitions, Pega uses the TaskStatus-Add method. This adds a custom status to the task list. Java steps, history methods, and transitions themselves do not perform this specific status-adding function.