Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
  • Loading branch information
pditommaso committed Oct 23, 2024
1 parent d2f0e0d commit 77a7723
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/reference/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,15 @@ The following task properties are defined in the process body:
: :::{versionadded} 24.10.0
:::
: The exception reported by the previous task attempt.
: Since the exception is only available after a failed task execution, it can only be used when `task.attempt` is greater than 1.
: Since the exception is available after a failed task attempt,
it can only be accessed when retrying a failed task execution, and therefore when `task.attempt` is greater than 1.

`task.previousTrace`
: :::{versionadded} 24.10.0
:::
: The trace record associated with the previous task attempt. Since the trace record is only available after the task
has been executed, it can only be accessed when retrying a failed task execution, and therefore when `task.attempt`
is greater than 1.
: The trace record associated with the previous task attempt.
: Since the trace record is available after a failed task attempt,
it can only be accessed when retrying a failed task execution, and therefore when `task.attempt` is greater than 1.
: This is useful when retrying a task execution to access the previous task attempt runtime metrics e.g. used memory and CPUs.

`task.process`
Expand Down

0 comments on commit 77a7723

Please sign in to comment.