Confluence 自動化の条件
Conditions are optional components that limit the scope of your flow.
The conditions that you specify must be met (that is, “pass”) in order for the flow to continue running.
For example, let's imagine your flow is set to trigger when a new page is published. You could add a User condition so the flow only runs if the page was published by a specific person.
As you build more complex flows, you might add conditions at more than one point in your flow summary. Each condition only impacts what comes after it. If a condition isn’t met, the actions that follow it won’t be performed.
The location of conditions on the flow chain will affect how they work.
Confluence 条件
これらの条件は Confluence 自動化に固有のもので、個々のスペースを自動化する (スペースの自動化) ため、または複数のスペースを一度に自動化する (グローバル自動化) ために利用できます。
ユーザー
If you add a User condition, your flow only runs when it’s triggered by certain users or groups.
For example, let's imagine your flow is set to trigger when a new page is published. You could add a User condition so the flow only runs if the page was published by a specific person.
If you add more than one user or group in the same field, the flow will execute when it’s triggered by any one of them (that is, if the user is Person 1 OR Person 2 OR Person 3).
CQL
If you add a CQL condition, your flow only runs when the trigger meets parameters you define in a query (using Confluence Querying Language [CQL]).
Jira の JQL や IQL のように、CQL によって Confluence で高度な検索を実行できます。
[CQL] 条件は、任意のオブジェクト タイプによってカスタム条件を作成する方法です。
カスタム クエリを作成する
A simple query in CQL (also known as a 'clause') consists of a field, followed by an operator, followed by one or more values or functions.
For example, the following simple query will find all content in the "TEST" space. It uses the Space field, the EQUALS operator, and a text value term ("Test".) CQL terms are not case sensitive.
space = "TEST"You can join two or more clauses with keywords (like OR, AND) to form a more complex CQL query.
Below are some examples of common CQL queries to provide contextual starting points for different objects. To learn more about how to construct your own queries, see Advanced searching using CQL.
クエリの例 (オブジェクト タイプ別)
もしこのページ...
...のタイトルに同じ語 (または句) が含まれていれば
title ~ "meeting minutes"...に特定の Confluence マクロが使用されていれば
type = Page AND macro = cqlnavigation
もしブログ投稿...
...が先月に作成されていれば
type = blogpost AND created > startOfMonth("-1M") AND created < startOfMonth()
もしコメント...
...が過去 1 週間に (特定のユーザーとして) 自分が書いたものであれば
type = comment AND creator = currentUser() AND created > startOfDay("-1w") order by created desc
もし添付ファイル...
...の名前に同じ語 (または句) が含まれていれば
type = Attachment AND title ~ "screenshot"...が語 (または句) を含む PDF であれば
type = attachment AND title ~ "pdf" AND text ~ "confluence"
Rovo 条件
A Rovo condition lets you trigger your flow when the content contains a word or phrase you provide. This condition always pulls from the current state of the {{content}} smart value and can act on either the content body or title.
For example, if your flow is set to trigger when a new page is published, you could add a Rovo condition so the flow only runs if the page’s body text includes “meeting notes”.
Standard プラン、Premium プラン、Enterprise プランのすべてのアプリで AI の利用が可能になり、自動的に有効化されるようになりました。組織管理者は、アトラシアンの管理の [アプリ] > [AI 設定] > [AI が有効なアプリ] で AI 設定を管理できます。
If your admin turns off AI, any flows using AI steps will not run.
Rovo の仕組み、制限、およびプライバシーに対する当社の取り組みの詳細については、Atlassian Trust Center をご確認ください。
Analytics
Analytics conditions let you set one or more criteria to control whether or not a flow will be triggered.
ページ条件
ページ条件は、値を特定のページ統計と比較します。
AND/OR ロジックでリンクされた基準を最大 5 つ選択します。
条件の基準は次のとおりです。
合計表示回数: 指定した数と等しい、指定した数より小さい、または指定した数を超える
編集総数: 指定した数と等しい、指定した数より小さい、または指定した数を超える
コメントの合計: 指定した数と等しい、指定した数より小さい、または指定した数を超える
ページ タイトル: 指定されたテキスト文字列が含まれる、または含まれない
ラベル: 指定された 1 つ以上のラベルを含む、または含まない
ステータス: ページ ステータスが、そのページのスペースに設定されているステータスの 1 つである
一般条件
Automation for Jira をご利用の場合は、[詳細な比較] など、同じ一般トリガーがいくつかあることにお気付きになるでしょう。設定方法はよく似ていますが、現在、異なるアプリ間では機能しません。本件はロードマップには記載されています。
{スマート値} 条件
This condition is considered advanced because it requires the use of Confluence smart values or regular expressions.
If you add a {{smart values}} condition, your flow only runs when it’s triggered by a certain state as defined by comparing either a smart value or a regular expression in the first field – to criteria you define in the second field.
中央のドロップダウンによって基準の要件を指定します。
{{smart values}} 条件は、動的変数によってカスタム条件を作成する方法です。
If/else ブロック
The If/else block step is an exception. It isn’t a condition – it's a way to define a choice of two conditions at the same point in your flow chain. By splitting the path into two “if/else” conditions, the flow can lead to one of two different outcomes.
It’s a little like “choose your own adventure” or a fork in the road: IF this condition is met, this sequence runs. Or ELSE the other condition is met and the other sequence runs. (If neither condition is met, the flow won’t continue running.)
The If/else block condition isn’t compatible with branch steps.
While they both split the path of a flow, they serve opposing functions: An If/else condition runs either one path or the other, where as branching runs multiple paths at once.
したがって、条件をブランチに追加する際に、If/else ブロックはオプションとして表示されません。
この内容はお役に立ちましたか?