Skip to content

Service Step Operations in Martini

This section provides an overview of the various step operations available for services in Martini. Each step operation enables you to define specific actions that your service can perform as it processes input data and interacts with other components.

Topics Covered

  1. Overview of Step Operations: Get an introduction to the different types of step operations and their purposes within a service workflow.

  2. Map Step: Learn how to use the Map Step to transform and manipulate data as it flows through your service, allowing you to change the structure of the input data.

  3. Fork Step: Discover how the Fork Step can create parallel execution paths in your workflows, enabling multiple operations to run simultaneously.

  4. Block Step: Explore the Block Step, which allows you to group steps together and manage control flow using TryCatch, TryFinally, or try-catch-finally constructs.

  5. Iterate Step: Understand how to implement the Iterate Step to loop through collections of data, processing each item individually within your service.

  6. While Step: Learn how to create conditional loops with the While Step, allowing your service to execute actions as long as a specified condition is true.

  7. Break Step: Discover how to use the Break Step to exit a loop prematurely, giving you greater control over the execution of your service.

  8. Script Step: Explore the Script Step, which enables you to execute custom scripts as part of your service logic, allowing for complex functionality beyond predefined operations.

  9. Concurrent Step: Understand how to use the Concurrent Step to execute multiple steps in parallel, optimizing performance and reducing execution time in workflows.

  10. Random Step: Learn how the Random Step can introduce variability in your workflows by randomly selecting one of several configured paths, which is useful for testing scenarios.