適用於 Asana Starter、Advanced、Enterprise 和 Enterprise+ 層級,以及 舊版層級 Premium 版、Business 版和舊版 Enterprise 版。
請造訪我們的 定價頁面 以取得更多資訊。
變數是參考規則中關鍵任務資料的一種方式。變數可讓您建立動態、彈性的 規則,以符合您的工作流程。
當規則執行時,您可以參考任務中以下類別的變數:任務、人員、日期、自訂欄位
注意
人員變數進一步細分為 任務建立者、指派對象和 規則觸發者
使用動態值時,請指定變數顯示的確切值。
例如,您可能希望在文字區塊中參考任務的名稱,而不必 @ 提及它,或者在某些情況下,參考任務 ID 號碼可能更好。
請參閱以下所有變數和不同的顯示方式。
描述 | 觸發規則的任務描述欄位內容 |
ID | 觸發規則的任務 ID 編號 (例如 1205100117625723) |
將人員變數分為 3 個子類別:
請選擇任務建立者、指派對象、規則觸發器,並以預設方式顯示動態值。colspan="1" rowspan="1">預設| @ 提及或網址 | |||
名稱 | 名稱 | 名稱 | 純文字名稱 |
電子郵件 | 電子郵件 | 電子郵件 | 電子郵件地址 |
ID | ID | ID | ID 號碼(例如:1205100117625723) |
截止日期 | 觸發規則的任務截止日期 |
建立時間 | 觸發規則的任務建立時間和日期 |
單選自訂欄位 | 觸發規則的任務單選欄位中的目前值 |
複選自訂欄位 | 觸發規則的任務複選欄位中的目前值 |
公式自訂欄位 | 請在觸發規則的任務公式欄位中輸入目前值 |
日期自訂欄位 | 請在觸發規則的任務日期自訂欄位中輸入目前值 |
人員自訂欄位 | 請在觸發規則的任務人員自訂欄位中輸入目前值 |
此範例展示了建立規則時變數的外觀。
根據規則,當任務移動到 分流 區段時,觸發規則並建立子任務。子任務包含許多變數,每個變數都參考了觸發規則的任務中的一段資料。

當規則建立任務、子任務或核准時,請在任務標題中使用任務變數。在此範例中,僅使用任務名稱和任務 ID 變數。
在任務描述中使用任務變數。在此範例中,所有 4 個任務變數都用於子任務的描述中,以供說明。

在左側,查看當移動到專案的分流區段時觸發規則的任務。請使用規則中的變數將任務的名稱、描述和任務 ID 拉入建立的子任務中。
在右側,查看規則執行時建立的子任務。子任務包含從觸發規則的任務中提取的任務、任務名稱、任務描述和任務 ID 資訊。
查看支援不同變數的各種規則動作。
設定指派對象規則動作支援所有人員變數,這表示您可以選擇任務建立者、指派對象或規則觸發者。由於該動作僅與變更指派對象欄位相關,因此變數的特定值(預設、名稱、電子郵件、ID)與此動作無關或不受支援。 建立任務、建立子任務、建立核准
使用「建立任務」、「建立子任務」和「建立核准」動作時,這些任務中有四個區域可以使用變數:「任務名稱」、「任務描述」、「截止日期」欄位和「指派對象」欄位。
請在「任務名稱」欄位中支援所有變數及其值。請在「任務描述」欄位中支援所有變數及其值。請在「截止日期」欄位中支援所有「日期」變數。請在「指派對象」欄位中支援所有「人員」變數。
Asana 的 Gmail 規則整合 可讓您根據所選的觸發因素,從 Gmail 帳戶傳送電子郵件至所需收件者。傳送電子郵件動作現在可以支援變數。

請在 收件者、回覆、主旨和內文欄位中支援變數。
注意
This article has been AI-translated.
Send translation feedback.

These cookies are strictly necessary to provide you with certain features. For example, these cookies allow you to access secure areas that require registration and set your privacy preferences. Because these cookies are essential to providing services to you, they cannot be disabled. You can set your browser to block or alert you about these cookies, but it may cause some parts of the site to not work.
Third party trackers collect information used for analytics and to personalize your experience with targeted ads. Under the Virginia Consumer Data Protection Act, you have the right to opt-out of the sale of your personal data to third parties. You also have the right to opt out of targeted advertising related processing. You may exercise your right to opt out of the sale of personal data and targeted advertising by using this toggle. If you opt out, we will not be able to offer you personalized ads and we will stop sharing your personal information with third parties. For more information please see our Privacy Statement.
These cookies allow us or our third-party analytics providers to collect information and statistics on use of our services by you and other visitors. This information helps us to improve our services and products for the benefit of you and others.
These cookies, provided by our third-party advertising partners, collect information about your browsing habits, as well as your preferences for various features and services. They also provide us with auditing, research, and reporting to know when advertising content has been displayed and how successful the content has been. This information allows us and our third-party advertising providers to display relevant advertising content.
These cookies provide enhanced functionality, providing chat support, allowing you to more easily complete forms, personalizing content to your preferences, and selecting your communications preferences. If you do not enable these cookies, or choose to disable them in the future, that could impact your ability to use certain features.