NAME
Twilio::Rest::Studio::V1::Flow::Execution::ExecutionStep - The ExecutionStep resource
SYNOPSIS
my $client = Twilio::Rest::Client->new($account_sid, $auth_token);
for my $execution_step ($client->studio->v1->flows($flow_sid)->executions($execution_sid)->steps->read({}, 20)) {
...
}
my $execution_step = $client->studio->v1->flows($flow_sid)->executions($execution_sid)->steps($sid)->fetch;
DESCRIPTION
Individual steps within an execution
This file holds ExecutionStepList, ExecutionStepPage, ExecutionStepContext and ExecutionStepInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.
ExecutionStepList
Returned by $client->studio->v1->flows($flow_sid)->executions($execution_sid)->steps. See also Twilio::ListResource.
read
my @records = $client->studio->v1->flows($flow_sid)->executions($execution_sid)->steps->read(\%options, $limit, $page_size);
Retrieve a list of all Steps for an Execution. Returns the records as a list, fetching as many pages as it needs.
stream
my $stream = $client->studio->v1->flows($flow_sid)->executions($execution_sid)->steps->stream(\%options, $limit, $page_size);
Takes the same arguments as "read", and returns a Twilio::Stream.
page
my $page = $client->studio->v1->flows($flow_sid)->executions($execution_sid)->steps->page(\%options, $page_size, $page_token, $page_number);
Fetches one page, and returns a Twilio::Page.
get_page
my $page = $client->studio->v1->flows($flow_sid)->executions($execution_sid)->steps->get_page($url);
Fetches the page at a URL given by Twilio.
get_context
my $context = $client->studio->v1->flows($flow_sid)->executions($execution_sid)->steps->get_context($sid);
Returns a ExecutionStepContext, and makes no request.
ExecutionStepPage
A Twilio::Page of ExecutionStepInstance objects.
records_key
build_instance
Used by Twilio::Page.
ExecutionStepContext
Returned by $client->studio->v1->flows($flow_sid)->executions($execution_sid)->steps($sid). It makes no request until one of these methods is called.
fetch
my $execution_step = $client->studio->v1->flows($flow_sid)->executions($execution_sid)->steps($sid)->fetch;
Retrieve a Step. Returns a ExecutionStepInstance.
step_context
my $context = $object->step_context;
See Twilio::Rest::Studio::V1::Flow::Execution::ExecutionStep::ExecutionStepContext.
ExecutionStepInstance
See also Twilio::InstanceResource.
It has fetch and step_context, which work as they do on the context.
Its fields are:
- account_sid
-
The SID of the Account that created the ExecutionStep resource.
- context
-
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.
- date_created
-
The date and time in GMT when the resource was created specified in ISO 8601 format. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.
- date_updated
-
The date and time in GMT when the resource was last updated specified in ISO 8601 format. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.
- execution_sid
-
The SID of the Step's Execution resource.
- flow_sid
-
The SID of the Flow.
- links
-
The URLs of related resources.
- name
-
The event that caused the Flow to transition to the Step.
- parent_step_sid
-
This field shows the Step SID of the Widget in the parent Flow that started the Subflow. If this Step is not part of a Subflow execution, the value is null.
- sid
-
The unique string that we created to identify the ExecutionStep resource.
- transitioned_from
-
The Widget that preceded the Widget for the Step.
- transitioned_to
-
The Widget that will follow the Widget for the Step.
- type
-
The type of the widget that was executed.
- url
-
The absolute URL of the resource.
CONSTRUCTORS
new
Objects here come from the methods above, so there is no need to call new directly.
LICENSE
Copyright (c) 2026 Francisco Zarabozo. Released under the MIT License.