[WCM] [Process] Doc for output flush methods.

| Q             | A
| ------------- | ---
| Doc fix?      | no
| New docs?     | PR #8288
| Applies to    | master
| Fixed tickets | #7884

Docs for flush methods on Process class.