Skip to content

Commit

Permalink
Update docs [ci skip]
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 54e0442 commit d2f0e0d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs/reference/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,16 @@ The following task properties are defined in the process body:
`task.previousException`
: :::{versionadded} 24.10.0
:::
: The task execution of previous execution.
: Since the exception is only available after the task has been executed, it can only be used when `task.attempt` is bigger than 1.
: 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.

`task.previousTrace`
: :::{versionadded} 24.10.0
:::
: The trace record of the task execution.
: Since the trace record is only available after the task has been executed, it can only be used when `task.attempt` is bigger than 1.
: 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.
: This is useful when retrying a task execution to access the previous task attempt runtime metrics e.g. used memory and CPUs.

`task.process`
: The current process name.
Expand Down

0 comments on commit d2f0e0d

Please sign in to comment.