---
title: p.task.result
description: "## Syntax **p.task.result** ## Purpose The p.task.result annotation identifies a paragraph as being a result statement of a procedure. Result statements advise the user of the outcome of the preceding task. ## Examples The following is an example of a…"
url: "https://www.stilo.com/docs/migrate/prolog/p-task-result/"
updated: "2023-10-30"
category: Annotations / Prolog
tags:
  - Annotations
---

# p.task.result

## Syntax

**p.task.result**

## Purpose

The p.task.result annotation identifies a paragraph as being a result statement of a procedure. Result statements advise the user of the outcome of the preceding task.

## Examples

The following is an example of a time when you would want to use a p.task.result annotation:

![](https://www.stilo.com/wp-content/uploads/2023/10/stilo-dita-xml-annotation-p.task_.result0.png)

The final line of the above example is a result statement. As such, it should be annotated with p.task.result.

The following is an example of a rule that applies the p.task.result annotation:

![](https://www.stilo.com/wp-content/uploads/2023/10/stilo-dita-xml-annotation-p.task_.result.png)

The following is an example of the DITA output you would get from this annotation.

`<result><p>The style is now applied to the selected text.</p></result>`

 
