Build Plans
In Plan View, you design your plan, which includes the building and sequencing of tasks and the triggers that execute your sequence of tasks.
When a plan is triggered Alteryx One captures a snapshot of the objects in the plan. This snapshot defines the set of tasks that are executed as part of a plan run. Snapshots don’t include the assets behind tasks, so later changes to those assets may affect task outcomes during plan execution.
The set of tasks in the plan is triggered in the order listed in the plan.
All of the dependencies for any task are also executed.
If one task fails to execute, the other tasks are not executed.
始めに
開始する前に、次の点を確認してください。
プラン内の使用したいすべてのアセットにアクセスできる。
プランの作成
最初に、プランオブジェクトを作成する必要があります
ランディングページで、App Switcherから[Plans]を選択します。
Plansページで、[新規]を選択します。「
無題のプラン - X
」という名前の新しいプランが作成されます。X
には数字が入ります。「
無題のプラン - X
」を選択して、プラン名と説明を入力します。プランが保存され、プランビューに表示されます。
プランビューでは、プランの一部であるオブジェクトを作成します。これらには以下が含まれます:
プランスケジュール: スケジュールは、プランが実行されるタイミングを決定する1つまたは複数のトリガーで構成されます。
トリガー: プランの実行条件を決定するスケジューリングオブジェクト。
スケジュールには、1つまたは複数のトリガーを含めることができます。
タスク: トリガーされたときに実行するアクション。
プランでは、1つまたは複数のタスクのシーケンスを作成できます。
Drag and drop a task from the left side panel of tasks. Configuration window for the task should pop up on the right.
タスクの作成
実行したいタスクを指定します。
注記
タスクとして実行したいアセットにアクセスできる必要があります。
プランビューページで、タスクタイプをプランのキャンバスにドラッグアンドドロップします。タスクの詳細と設定オプションが右側に表示されます。
タスクを選択し、必要に応じて設定します。
必要に応じてタスクを追加します。
プランをテストするには、[実行]を選択します。プランは実行のためにすぐにキューに入れられます。
プランを編集し、実行の準備ができるまで上記の手順を繰り返します。
ヒント
プランの開発中はスケジュールに従って実行されないように、スケジュールを無効化することができます。その場合でも、[実行]ボタンを使用して、テストを実行することは可能です。
スケジュールを作成するには、[スケジュール]を選択します。
スケジュールのトリガーを1つまたは複数指定します。トリガーが発生すると、プランは実行待ちのキューに入れられます。
準備ができると、プランはトリガーでスケジュールされた時間に実行されます。
タスクタイプ
For a complete overview of the tasks and their specific details, visit Plan Tasks.
View for Tasks
When you create or select a task, you can modify its settings through the context panel on the right.
Task context menu options:
Some options may not be available for specific task types.
Edit name: Modify the name of the task.
Delete: Delete the task from your plan.
To cancel a plan that is currently running, click Cancel plan run.
Task Execution Rule
Next to the task you created, you'll find a set of icons on the right. These symbols represent the possible outcomes—whether the task succeeds, fails, or can lead to either result.
Icon | Description | |
---|---|---|
| Success | |
| Failure | |
| Any status | |
| Input Anchor |
ヒント
プランに新しいタスクを追加し、これらのパスのいずれかで最初のタスクに接続できます。
You can gate the execution of a task based on the completion status of its previous task. To execute the task, click and join the required icons to the output anchor of another task. You can also drag the required icon to the output anchor of any task. See the icons above.
On success: Runs if the previous task is successful.
On failure: Runs if the previous task is failed.
On execution (any status): Runs the task in the canvas irrespective of the previous task's status (success or failure).
プランブランチの作成
シナリオによっては、プラン内のタスクの結果に基づいてプラン実行ステップを分岐させる必要があります。たとえば、前のタスクが成功したか失敗したかに応じて、HTTPタスクを使用して個別のメッセージを送信する必要があるとします。この場合はタスク実行ルールと並列ノードを追加することで、プラングラフにブランチを作成できます。ブランチは、プラン実行の成功と失敗の状態に基づいて遂行されます。
以下の簡単な例から始めます。
最初のタスクを作成します。
次のセクションを完了します。
例 - プランの成功または失敗タスク

図:プランの条件付きタスク実行
パラメーターオーバーライドを適用
プランタスクにパラメーターが定義されたアセットが含まれている場合、これらのパラメーター値を確認して上書きできます。オーバーライドは、プラン実行の一部としてタスクがトリガーされたときに適用されます。
パラメーター化のサポートが制限されています
Plansでは、現時点でTrifacta Classicフローのパラメーター化のみをサポートしています。
プランビューのコンテキストメニューから、[パラメーター]を選択します。
プラン内のすべてのパラメーターの名前、ソース、現在の値を確認します。
オーバーライドを適用するには、[鉛筆]アイコンを選択して新しい値を入力します。[保存]を選択します。
これ以降のプランの実行では、この新しい値がパラメーターのオーバーライドとして使用されます。
プランのテスト
プランのタスクを作成したら、プランのテストを実行できます。
テストするには、[実行]を選択します。
プランの実行は、実行待ちのキューに入れられます。
プラン実行の監視
プランビューの右上にある[実行]リンクを選択します。
[プラン実行]ページでは、プラン実行の進行状況を追跡できます。
直近でトリガーされたプラン実行が表示されます。
複数の実行がある場合は、実行タイムスタンプの横にある山かっこを使用できます。
進行中のタスクについては、タスクを選択してコンテキストパネルに情報を表示できます。
プラン実行の詳細を表示するには、[出力]タブを選択します。次に[ジョブの詳細]を選択します。
詳細は、プラン実行ページを参照してください。
プランスケジュールの追加
スケジュールオブジェクトを追加して、プラン実行のトリガーを指定できます。
注記
プランのスケジュールは、そのスケジュールが有効化されるまで実行できません。プランのスケジュールが無効になっている場合でも、[今すぐ実行]ボタンを使用すれば実行できます。
ステップ:
開始するには、プランビューのコンテキストメニューから[スケジュール]を選択するか、右のコンテキストパネルで[スケジュールの作成]を選択します。
[トリガーの追加(Add Trigger)]パネルでは、プラン実行時のトリガーを指定できます。1つまたは複数のトリガーを指定できます。
図: トリガーの追加
各トリガーについて:
タイムゾーン: スケジュールされた時間に適用するタイムゾーンを指定します。タイムゾーンの詳細については、サポートされているタイムゾーン値を参照してください。
頻度: スケジュールがトリガーされる頻度を指定できます。
各トリガーでは、複数のON値を指定できます(例: 日曜日と月曜日の同じ時間)。
必要に応じて、Cronジョブ構文の形式を変更してON値を指定できます。詳細については、Cronスケジュール構文リファレンスを参照してください。
トリガーをさらに追加するには、[トリガーを追加(Add another trigger)]を選択して指定します。
トリガーを削除するには、トリガーの横にある[X]を選択します。
パラメーターオーバーライド:
プラン内のアセットにパラメーターが含まれている場合は、パラメーター値にオーバーライドを適用できます。
パラメーター化のサポートが制限されています
Plansでは、現時点でTrifacta Classicフローのパラメーター化のみをサポートしています。
このパネルで指定されたオーバーライドは、トリガー実行時のみ適用されます。
注記
パラメーター値が重複しない限り、プランのパラメーターに複数の値を設定できます。複数のパラメーター値のセットの横に警告アイコンが表示されている場合は、元のアセットでこの重複を修正する必要があります。修正しないとプランの実行に失敗します。
プランビューからもオーバーライドを適用できます。
スケジュールを保存するには、[保存]を選択します。
コンテキストパネルでは、スケジュールを変更できます。
保存後、スケジュールは自動的に有効になります。スケジュールを無効にするには、スライダーバーを使用します。
注記
プランスケジュールが無効になっている場合、プランは実行できません。
スケジュールとトリガーを変更するには、[編集]を選択します。
Top Bar
ヒント
To rename the plan, select the plan name in the top bar.
Run: Run the plan. You can track the progress of your plan run. Go to Run Plans Page.
ヒント
You can apply overrides to parameters through the Parameters tab. Go to Plan Runs Page.
Schedule: Create or edit the plan schedule with one or more triggers through the right context panel. Go to Schedule Plans.
Share: Share the plan with other users. Go to Share a Plan.
Runs: The Runs link tracks the current total number of runs that have been queued or executed for this plan. Click this link to track the progress on your plan run.
Plan context menu (three-dot menu)
Rename: Modify the name and description for your plan.
Parameters: You can apply overrides to the parameters for your plan tasks during plan job runs. Go to Manage Plans Parameters.
パラメーター化のサポートが制限されています
Plansでは、現時点でTrifacta Classicフローのパラメーター化のみをサポートしています。
Email notifications: Send email notifications on the plan runs. Go to Manage Plan Notifications.
Export: Export the plan from Alteryx One. Go to Export and Import Plan.
Transfer ownership: (Available to owner or admin only) Transfer ownership of this asset to another user. Go to Transfer Asset Ownership.
Delete: Delete your plan.