From 0374f63a0e0c20f260082cc5e9542e1fec35ffeb Mon Sep 17 00:00:00 2001 From: Ben Sherman Date: Fri, 11 Nov 2022 09:41:38 +0100 Subject: [PATCH] Add note to some process implicit variables [ci skip] (#3373) --- docs/script.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/script.rst b/docs/script.rst index aeefa79068..121d4989b9 100644 --- a/docs/script.rst +++ b/docs/script.rst @@ -251,11 +251,11 @@ The following variables are implicitly defined in the ``task`` object of each pr Name Description =============== ======================== ``attempt`` The current task attempt -``hash`` The task unique hash Id +``hash`` The task unique hash Id. NOTE: This is only available for processes that run native code via ``exec:``. ``index`` The task index (corresponds to ``task_id`` in the execution trace) -``name`` The current task name +``name`` The current task name. NOTE: This is only available for processes that run native code via ``exec:``. ``process`` The current process name -``workDir`` The task unique directory. NOTE: This is only available for processes that run native code via the ``exec:`` statement. +``workDir`` The task unique directory. NOTE: This is only available for processes that run native code via ``exec:``. =============== ======================== The ``task`` object also contains the values of all process directives for the given task,