Legacy Gradle Examples

May 12, 2026 · View on GitHub

These are the original Gradle-based examples, preserved for reference. For new projects, use the 791 Maven examples instead — they are self-contained, easier to run, and all OSS-compatible.

Running

# Start Conductor locally
docker run -d -p 8080:8080 -p 1234:5000 conductoross/conductor:latest

export CONDUCTOR_SERVER_URL=http://localhost:8080/api

./gradlew run --main-class <ClassName>

OSS-Compatible Examples

These work with a plain OSS Conductor server — only CONDUCTOR_SERVER_URL required, no auth keys.

ClassDescription
com.netflix.conductor.gettingstarted.CreateWorkflowRegister a workflow definition
com.netflix.conductor.gettingstarted.StartWorkflowStart a workflow
com.netflix.conductor.gettingstarted.HelloWorkerPoll and execute tasks
com.netflix.conductor.sdk.examples.helloworld.MainEnd-to-end hello world
com.netflix.conductor.sdk.examples.TaskRunnerTask polling with workers
com.netflix.conductor.sdk.examples.TaskRegistrationRegister task definitions
com.netflix.conductor.sdk.examples.events.EventHandlerExampleEvent handler registration
com.netflix.conductor.sdk.examples.events.EventListenerExampleEvent listener setup
com.netflix.conductor.sdk.examples.taskdomains.MainTask domain routing
com.netflix.conductor.sdk.examples.shipment.MainShipment workflow
io.orkes.conductor.sdk.examples.WorkflowManagementWorkflow CRUD operations
io.orkes.conductor.sdk.examples.WorkflowManagement2Workflow execution patterns
io.orkes.conductor.sdk.examples.workflowops.MainWorkflow operations

Orkes Cloud–Only Examples

These require an Orkes Cloud server with CONDUCTOR_AUTH_KEY and CONDUCTOR_AUTH_SECRET set.

ClassWhy Orkes-only
io.orkes.conductor.sdk.examples.AuthorizationManagementUses Orkes authorization API
io.orkes.conductor.sdk.examples.SchedulerManagementUses Orkes scheduler API
io.orkes.conductor.sdk.examples.MetadataManagementUses OrkesClients metadata extensions
io.orkes.conductor.sdk.examples.agentic.FunctionCallingExampleRequires LLM provider configured in server
io.orkes.conductor.sdk.examples.agentic.LlmChatExampleRequires LLM provider configured in server
io.orkes.conductor.sdk.examples.agentic.RagWorkflowExampleRequires vector DB + LLM integration
io.orkes.conductor.sdk.examples.agentic.VectorDbExampleRequires vector DB integration
io.orkes.conductor.sdk.examples.agentic.HumanInLoopChatExampleRequires LLM + human task integration
io.orkes.conductor.sdk.examples.agentic.AgenticExamplesRunnerRunner for the agentic examples above