メニュー

Expand
ページを評価:

Run Subflow

ベータ

This Twilio product is currently available as a beta release. Some features are not yet implemented and others may be changed before the product is declared as Generally Available. Beta products are not covered by a Twilio SLA. Learn more about beta product support.

Subflow Widget

説明:

Run Subflow allows you to invoke a Subflow from a parent Flow.

必須の構成

名前

概要

初期値

Flow SID

The Flow SID of the Flow to use as a Subflow

FW12341234...

なし

Flow Revision

The revision of the Subflow to use at runtime. Select "Latest Draft" or "Latest Published" to have Studio dynamically select the correct revision at runtime.

Note: Multiple references to the same Subflow within a parent Flow must all target the same Flow Revision.

Latest Published Revision

なし

オプションの構成

名前

概要

初期値

パラメーター

Zero or more extra parameters that will be passed to the Subflow expressed as key/value pairs. String literals and variables are supported.

なし

Parameters are referenceable in the Subflow via the trigger object: {{trigger.parent.parameters.foo}}

Transitions:

このWidgetにはTransitionをトリガーする2つのイベントがあります。

名前

概要

completed

The Subflow reached the end of its widgets

失敗

The Subflow could not be loaded or executed.


変数:

Variables can be returned from the Subflow to the parent Flow using the Set Variables widget.

For example, if you use Set Variables in the Subflow to set foo=bar, that variable can be referenced in the parent as {{widgets.subflow_widget.foo}}.

ページを評価:

ヘルプが必要ですか?

We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Community Forums or browsing the Twilio tag on Stack Overflow.

        
        
        

        フィードバックくださりありがとうございます!

        We are always striving to improve our documentation quality, and your feedback is valuable to us. How could this documentation serve you better?

        Sending your feedback...
        🎉 Thank you for your feedback!
        Something went wrong. Please try again.

        Thanks for your feedback!

        Refer us and get $10 in 3 simple steps!

        ステップ1

        Get link

        Get a free personal referral link here

        ステップ2:

        Give $10

        Your user signs up and upgrade using link

        ステップ3

        Get $10

        1,250 free SMSes
        OR 1,000 free voice mins
        OR 12,000 chats
        OR more