Check dependencies before completing Awork tasks (Workaround) — n8n ワークフロー
概要
Awork currently does not support a check for open subtasks or open dependencies when setting a task status to done. This workflow offers you a simple workaround to add this functionality to Awork and notifies users when triggered. Multiple configuration options available.
How it works Triggered via Awork Webhook call on status change of tasks If task is marked as done, subtasks and/or dependent tasks are checked for their status If unfinished tasks are found, a status rollback to previous statu
使用ノード
HTTP RequestCode
ワークフロープレビュー
Load dependencies for task
A
Aggregate task dependenc…
W
Workflow config
F
Fetch task changes
S
Split out task changes
F
Filter task status change
C
Check if task done
⚡
W
Webhook call by Awork
C
Check if dependencies en…
Load all linked tasks
Build filter params
F
Filter only open tasks
A
Aggregate open task IDs
C
Check if open tasks exist
C
Check if comments are en…
Add comment to tasks
C
Check if tree structure …
C
Check subtasks
Roll back task status fr…
Load all open sub tasks
A
Aggregate task IDs
C
Check open subtasks
C
Check if comments are en…
Add comment to tasks1
Roll back task status fr…
25 nodes25 edges
仕組み
- 1
トリガー
このワークフローは webhook トリガーで開始します。
- 2
処理
データは 25 個のノードを流れます, connecting aggregate, code, filter。
- 3
出力
ワークフローは自動化を完了し、設定された宛先に結果を配信します。
ノード詳細 (25)
HT#1
HTTP Request
httpRequest
CO#2
Code
code
このワークフローのインポート方法
- 1右側の JSONをダウンロード ボタンをクリックしてワークフローファイルを保存します。
- 2n8nインスタンスを開き、ワークフロー → 新規 → ファイルからインポート に進みます。
- 3ダウンロードした
check-dependencies-before-completing-awork-tasks-workaroundファイルを選択し、インポートをクリックします。 - 4各サービスノードの 認証情報(APIキー、OAuthなど)を設定します。
- 5ワークフローをテスト をクリックして動作確認し、有効化します。
またはn8nの JSONからインポート に直接貼り付け:
{ "name": "Check dependencies before completing Awork tasks (Workaround)", "nodes": [...], ...}
インテグレーション
aggregatecodefilterhttprequestifsetsplitoutwebhook
作成者
Gregor
@gregorg
タグ
aggregatecodefilterhttprequestifsetsplitoutwebhook