Skip to content

Commit 21bf703

Browse files
updates links
1 parent 7f39adf commit 21bf703

File tree

2 files changed

+6
-16
lines changed

2 files changed

+6
-16
lines changed

docs/english/guides/steps-from-apps.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ A step is made up of three distinct user events:
2222

2323
All three events must be handled for a workflow step to function.
2424

25-
Read more about steps from apps in the [API documentation](/legacy/legacy-steps-from-apps/).
26-
2725
### Slack app configuration
2826

2927
To enable Steps from Apps, visit the [Slack app settings page](http://api.slack.com/apps), choose the app you're working on, and go to **Features** > **Workflow Steps** on the left pane. There are two things to do on the page.
@@ -64,14 +62,12 @@ app.step(step);
6462
---
6563
## Adding or editing Steps from Apps
6664

67-
When a builder adds (or later edits) your step in their workflow, your app will receive a [`workflow_step_edit`](/legacy/legacy-steps-from-apps/legacy-steps-from-apps-workflow_step_edit-payload) event. The `edit` callback in your `WorkflowStep` configuration will be run when this event is received.
65+
When a builder adds (or later edits) your step in their workflow, your app will receive a `workflow_step_edit` event. The `edit` callback in your `WorkflowStep` configuration will be run when this event is received.
6866

69-
Whether a builder is adding or editing a step, you need to send them a [Step from App settings modal](/legacy/legacy-steps-from-apps/legacy-steps-from-apps-configuration-view-object). This modal is where step-specific settings are chosen, and it has more restrictions than typical modals—most notably, it cannot include `title`, `submit`, or `close` properties. By default, the configuration modal's `callback_id` will be the same as the workflow step.
67+
Whether a builder is adding or editing a step, you need to send them a Step from App settings modal. This modal is where step-specific settings are chosen, and it has more restrictions than typical modals—most notably, it cannot include `title`, `submit`, or `close` properties. By default, the configuration modal's `callback_id` will be the same as the workflow step.
7068

7169
Within the `edit` callback, the `configure()` utility can be used to easily open your step's configuration modal by passing in an object with your view's `blocks`. To disable saving the configuration before certain conditions are met, pass in `submit_disabled` with a value of `true`.
7270

73-
To learn more about opening configuration modals, [read the documentation](/legacy/legacy-steps-from-apps/).
74-
7571
```java
7672
import static com.slack.api.model.block.Blocks.*;
7773
import static com.slack.api.model.block.composition.BlockCompositions.plainText;
@@ -119,8 +115,6 @@ Within the `save` callback, the `update()` method can be used to save the builde
119115
* `stepName` overrides the default step name
120116
* `stepImageUrl` overrides the default step image
121117

122-
To learn more about how to structure these parameters, [read the documentation](/legacy/legacy-steps-from-apps/).
123-
124118
```java
125119
import java.util.*;
126120
import com.slack.api.model.workflow.*;

docs/japanese/guides/steps-from-apps.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
**ここで紹介されているワークフローステップの実装方法は非推奨となりました。 今後は[新しい方式(英語)](/workflows/workflow-steps)を利用してください。**
44

5-
(アプリによる)ワークフローステップWorkflow Steps from Apps) は、[ワークフロービルダー](/legacy/legacy-steps-from-apps/)におけるワークフローに組み込み可能なカスタムのワークフローステップを任意の Slack アプリが提供することを可能とします。
5+
(アプリによる)ワークフローステップ(Workflow Steps from Apps) は、ワークフロービルダーにおけるワークフローに組み込み可能なカスタムのワークフローステップを任意の Slack アプリが提供することを可能とします。
66

77
ワークフローステップは、三つの異なるユーザーイベントから構成されます:
88

@@ -12,8 +12,6 @@
1212

1313
ワークフローステップを機能させるためには、これら三つのイベント全てを適切にハンドリングする必要があります。
1414

15-
ワークフローステップのさらなる詳細については [API ドキュメント](/legacy/legacy-steps-from-apps/)を参考にしてください。
16-
1715
### Slack アプリの設定
1816

1917
ワークフローステップを有効にするには [Slack アプリ管理画面](http://api.slack.com/apps)にアクセスし、開発中のアプリを選択、左ペインの **Features** > **Workflow Steps** へ遷移します。このページで以下の設定を行います。
@@ -54,14 +52,12 @@ app.step(step);
5452
---
5553
## ステップの追加・編集
5654

57-
ワークフローの作成者が、アプリが提供するステップをワークフローに追加(またはその設定を変更)するタイミングで、アプリは [`workflow_step_edit`](/legacy/legacy-steps-from-apps/legacy-steps-from-apps-workflow_step_edit-payload) というイベントを受信します。このイベントの受信時に `WorkflowStep` 設定オブジェクト内の `edit` コールバック関数が実行されます。
55+
ワークフローの作成者が、アプリが提供するステップをワークフローに追加(またはその設定を変更)するタイミングで、アプリは `workflow_step_edit` というイベントを受信します。このイベントの受信時に `WorkflowStep` 設定オブジェクト内の `edit` コールバック関数が実行されます。
5856

59-
このとき、ワークフロー作成・変更のどちらの場合でも、アプリは[ワークフローステップ設定のためのモーダル](/legacy/legacy-steps-from-apps/legacy-steps-from-apps-configuration-view-object)を応答する必要があります。このモーダルは、ワークフローステップに固有の設定である必要があり、通常のモーダルにはない制約があります。最もわかりやすいものとしては、`title​``submit​``close` プロパティを設定することができません。また、デフォルトの設定では、この設定モーダルの `callback_id` はワークフローステップのものと同じものが使用されます。
57+
このとき、ワークフロー作成・変更のどちらの場合でも、アプリはワークフローステップ設定のためのモーダルを応答する必要があります。このモーダルは、ワークフローステップに固有の設定である必要があり、通常のモーダルにはない制約があります。最もわかりやすいものとしては、`title​``submit​``close` プロパティを設定することができません。また、デフォルトの設定では、この設定モーダルの `callback_id` はワークフローステップのものと同じものが使用されます。
6058

6159
`edit` コールバック関数の中では モーダルの view のうち `blocks` だけを渡すだけで簡単にステップ設定モーダルをオープンすることができる `configure()` というユーティリティ関数が利用できます。これは、必要な入力内容が揃うまで設定の保存を無効にする `submit_disabled` というオプションを `true` に設定します。
6260

63-
設定モーダルを開く処理に関するさらなる詳細は、[ドキュメント](/legacy/legacy-steps-from-apps/legacy-steps-from-apps-configuration-view-object)を参考にしてください。
64-
6561
```java
6662
import static com.slack.api.model.block.Blocks.*;
6763
import static com.slack.api.model.block.composition.BlockCompositions.plainText;
@@ -109,7 +105,7 @@ app.step(step);
109105
- `step_name` は、デフォルトのステップ名を上書きするために使用します
110106
- `step_image_url` は、デフォルトのステップのイメージ画像を上書きするために使用します
111107

112-
これら引数をどのように構成するかの詳細は、[ドキュメント](/legacy/legacy-steps-from-apps/legacy-steps-from-apps-workflow_step-object)を参考にしてください
108+
これら引数をどのように構成するかの詳細は、ドキュメントを参考にしてください
113109

114110
```java
115111
import java.util.*;

0 commit comments

Comments
 (0)