Enable scheduling for your agentic workflows and agents to create automated schedules through the Chat UI.
Enabling scheduling for agentic workflows
To enable scheduling in agentic workflows, set schedulable=True in the @flow decorator:
from ibm_watsonx_orchestrate.flow_builder.flows import flow
@flow(
name="daily_report_flow",
schedulable=True # Enable scheduling
)
def my_workflow():
# Agentic workflow logic
pass
Enabling scheduling for agents
To enable scheduling in agents, enable scheduling when creating the agent:
from ibm_watsonx_orchestrate.agent_builder.agents import Agent
my_agent = Agent(
name="monitoring_agent",
is_schedulable=True, # Enable scheduling
# other agent configuration...
)
Scheduling is disabled by default for all agents. Enable it manually if you want to use it.
Creating schedules through Chat UI
After you enable scheduling, create and manage schedules through natural language in the Chat UI:
Create a schedule:
Schedule daily_report_flow to run every Monday at 9 AM EST
View schedules:
Update a schedule:
Change the daily report to run at 10 AM instead
Delete a schedule:
Delete the monitoring schedule
You receive interactive forms that guide you through schedule configuration. For more information, see Scheduling tasks.