メニュー

Expand
ページを評価:

Step

A Step is the runtime processing of a Widget, starting when that Widget is entered. Variables get set at the end of a Step.

ユーザーにテキスト入力をプロンプトする際、そのユーザーがSMSを受信すると、Wedgetを退出する(返信を行うかタイムアウトに達する)までそのユーザーはStep内に存在していることになります。 プロンプトが変数の設定を意図している場合、これは最後に行われます。

Subscribe to Real-time Studio Events

Try Studio Events

You can now subscribe to Studio Events for Executions and Steps instead of polling via the REST API. Simplify your data ingestion with Event Streams for Studio.

ExecutionStep properties

Resource Properties in REST API format
sid
sid<FT> Not PII

The unique string that we created to identify the ExecutionStep resource.

account_sid
sid<AC> Not PII

The SID of the Account that created the ExecutionStep resource.

flow_sid
sid<FW> Not PII

The SID of the Flow.

execution_sid
sid<FN> Not PII

The SID of the Step's Execution resource.

name
文字列 Not PII

The event that caused the Flow to transition to the Step.

context
オブジェクト Not PII

The current state of the Flow's Execution. As a flow executes, we save its state in this context. We save data that your widgets can access as variables in configuration fields or in text areas as variable substitution.

transitioned_from
文字列 Not PII

The Widget that preceded the Widget for the Step.

transitioned_to
文字列 Not PII

The Widget that will follow the Widget for the Step.

date_created
date_time<iso8601> Not PII

The date and time in GMT when the resource was created specified in ISO 8601 format.

date_updated
date_time<iso8601> Not PII

The date and time in GMT when the resource was last updated specified in ISO 8601 format.

url
url Not PII

The absolute URL of the resource.

links
uri_map Not PII

The URLs of related resources.

Fetch a step resource

GET
https://studio.twilio.com/v2/Flows/{FlowSid}/Executions/{ExecutionSid}/Steps/{Sid}
パラメーター
Parameters in REST API format
flow_sid
Path
GET sid<FW> Not PII

The SID of the Flow with the Step to fetch.

execution_sid
Path
GET sid<FN> Not PII

The SID of the Execution resource with the Step to fetch.

sid
Path
GET sid<FT> Not PII

The SID of the ExecutionStep resource to fetch.

例 1
        
        
        

        Read a list of step resources

        GET
        https://studio.twilio.com/v2/Flows/{FlowSid}/Executions/{ExecutionSid}/Steps

        Step resources are listed in reverse chronological order (most recent is first).

        パラメーター
        Parameters in REST API format
        flow_sid
        Path
        GET sid<FW> Not PII

        The SID of the Flow with the Steps to read.

        execution_sid
        Path
        GET sid<FN> Not PII

        The SID of the Execution with the Steps to read.

        例 1
              
              
              
              ページを評価:

              ヘルプが必要ですか?

              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