You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Temporal Workflow is your business logic, defined in code, outlining each step in your process.
159
+
Activities are the individual units of work in your Workflow.
160
+
Activities often involve interacting with the outside world, such as sending emails, making network requests, writing to a database, or calling an API, which are prone to failure.
161
+
You can call Activities directly from your Workflow code.
162
+
If an Activity fails, Temporal automatically retries it based on your configuration.
163
+
164
+
156
165
## 4. Run a Worker
166
+
With your Activity and Workflow defined, you need a Worker to execute them.
167
+
Create a file labeled `worker.rb`.
168
+
Workers, which are part of your application and provided by the Temporal SDK, then carry out the tasks defined in your Workflow.
To follow more Ruby tutorials, visit learn.temporal.io/ruby.
240
+
You've successfully executed your first Temporal Workflow.
241
+
If you check the Temporal Web UI at http://localhost:8233, you'll gain visibility into your Workflow Execution with details listed about its progress and completion.
242
+
243
+
## Next Steps
244
+
245
+
Now that your local environment is set up, you can explore the full capabilities of Temporal by following the [Getting Started with Ruby tutorials](https://learn.temporal.io/getting_started/ruby/).
246
+
These tutorials will walk you through building and running your first Workflows using the Ruby SDK.
247
+
248
+
If you would like to better understand the underlying concepts behind what you have built, visit [Understanding Temporal](/understanding-temporal), which provides a basic high level overview of how the Temporal works.
249
+
For more learning by doing, you can also explore our collection of [Ruby code samples](https://github.com/temporalio/samples-ruby) on GitHub.
250
+
251
+
To take the next step toward building production-ready applications, check out the [Core Application section](/develop/ruby/core-application) of the Ruby Developer Guide.
252
+
This will help you understand how Temporal applications are structured.
0 commit comments