Home / Companies / Orkes / Blog / June 2026

June 2026 Summaries

7 posts from Orkes

Filter
Month: Year:
Post Summaries Back to Blog
AI agents operate as control loops, continuously assessing their current state with a model, executing actions, and iterating until a goal is achieved. While traditional loops are simple to implement, they often fail during prolonged tasks due to their reliance on in-process memory, which can lead to state loss upon process interruption, repeated actions, and lack of auditability. Durable loops, however, maintain persistence by storing iteration states in a runtime environment, ensuring that computation progress is saved and can resume from the last successful state after failures, a concept rooted in the Sagas model of long-lived transactions. This durability requires the loop counter to reside in the runtime, checkpointing each iteration, ensuring idempotent steps, and having explicit termination conditions. The orchestration engine Conductor exemplifies durable loops with its DO_WHILE task, which manages loop state, iteration counts, and per-pass states on the server, thereby enabling the continuation of loops without data loss and allowing for recovery and intervention. This approach contrasts with in-process loops that are flexible but vulnerable to process termination, offering a structured and reliable method for managing repetitive tasks in AI agents.
Jun 30, 2026 2,421 words in the original blog post.
Orkes Conductor's Sub Workflow task allows users to run an entire workflow as a single step within another workflow, facilitating the reuse of processes like payment handling, user verification, and notification sending across multiple parent workflows. This feature is particularly beneficial in avoiding the pitfalls of duplicating workflow logic, which can complicate debugging and management. It supports executing multiple tasks per branch in a dynamic fork and allows for the dynamic execution of workflows at runtime without prior registration, enabling external systems to integrate their own logic seamlessly. The task provides outputs and execution IDs for sub-workflows, simplifying monitoring and error handling, and is a crucial tool for maintaining clean, efficient, and scalable workflow architectures.
Jun 24, 2026 1,193 words in the original blog post.
The DYNAMIC_FORK task in Orkes Conductor allows for the parallel execution of tasks across multiple branches by dynamically forking based on a list of inputs, with each branch executing one task. This task eliminates the need for sequential processing by enabling simultaneous task execution, followed by a JOIN task that aggregates outputs from all branches. It is particularly useful in scenarios such as processing e-commerce cart items, triggering notifications across different channels, or running compliance checks in financial workflows, where tasks can be run concurrently rather than sequentially, thus enhancing efficiency and speed. The DYNAMIC_FORK task is demonstrated through various real-world examples, including an e-commerce order fulfillment process, a SaaS notification system, and a fintech loan application workflow, showcasing its ability to handle variable list sizes and streamline processes. A practical example using a weather lookup workflow illustrates how the DYNAMIC_FORK task can be utilized to fetch weather data for multiple cities in parallel, highlighting its utility in handling asynchronous operations without the need for complex coding solutions.
Jun 20, 2026 1,291 words in the original blog post.
The Orkes Conductor SWITCH task is designed to streamline workflow branching logic by evaluating a value and routing execution to the appropriate branch based on that evaluation, thereby reducing the need to hard-code decision logic into applications. This task is particularly useful in scenarios requiring non-linear workflows, such as directing file uploads to the correct processing service, sending notifications through preferred user channels, or handling different sign-up methods based on user registration paths. By integrating the SWITCH task into workflows, developers can simplify their codebases, as the branching decisions are managed within the workflow itself. The SWITCH task does not return data directly but provides the selectedCase to indicate which branch was executed, ensuring seamless continuation of workflows even if no branch matches, by proceeding to the next task. The text also includes a practical example of a workflow using the SWITCH task to route actions based on weather conditions, demonstrating how easily the task can be implemented and executed in Orkes Conductor.
Jun 18, 2026 1,702 words in the original blog post.
Orkes Conductor's HTTP task allows users to integrate external web services into their workflows by sending HTTP requests and making the responses available for subsequent tasks. Supporting various HTTP methods like GET, POST, and DELETE, the task handles authentication, headers, and response parsing automatically, which simplifies the process of connecting workflows to external APIs without requiring custom code. This feature is particularly useful in scenarios such as onboarding workflows, order processing, and checking resource existence, where data needs to be fetched, sent, or verified from external sources. By providing structured output and enabling seamless integration, the HTTP task allows developers to focus on core business logic rather than managing API interactions. The document also encourages users to experiment with the HTTP task using a free Developer Edition account on Orkes Conductor, demonstrating its capabilities with an example workflow that fetches weather data using the Open-Meteo API.
Jun 17, 2026 1,206 words in the original blog post.
Orkes Conductor's JavaScript/Inline task allows users to execute JavaScript expressions directly within workflow definitions, evaluated by the GraalJS engine. This task is designed to handle small, specific logic operations that occur between larger workflow tasks, such as calculations, conditionals, and data transformations, without requiring external environments like Node.js. It is particularly useful for tasks that are too specialized for generic built-in tasks but do not warrant their own dedicated service. Real-world applications include calculating prorated charges in billing workflows, applying risk thresholds in fraud detection, and generating personalized notification messages in healthcare settings. By embedding logic directly into the workflow, users can maintain streamlined processes without deploying and maintaining separate services. The JavaScript task outputs results that can be referenced by subsequent tasks, promoting seamless integration and execution within Orkes Conductor workflows.
Jun 16, 2026 1,360 words in the original blog post.
The JSON_JQ_TRANSFORM task in Orkes Conductor is designed to simplify JSON data manipulation within workflows by allowing users to reshape, filter, and merge JSON data using jq syntax, eliminating the need for custom code and additional infrastructure. This task is particularly useful for transforming API responses into desired formats more efficiently, as demonstrated with practical examples like cleaning up messy API responses, filtering lists, and merging data from multiple sources. It leverages jq, a lightweight query language for JSON, enabling users to perform complex data transformations inline within their workflows. By integrating JSON_JQ_TRANSFORM, users can streamline processes, reduce debugging time, and avoid maintaining separate services, thus focusing more on building impactful workflows. The task outputs can be referenced in downstream tasks, facilitating seamless data handling and transformation.
Jun 11, 2026 1,397 words in the original blog post.