In Pega utilities, the TaskStatus-Add method is used to set a status value that can be tested later in the flow using Decision shapes. Java steps and Transitions don't set flow-testable statuses, and History-Add is for audit trail purposes, not flow control.