dify icon indicating copy to clipboard operation
dify copied to clipboard

Workflow Schedule Feature

Open jmorata-waby opened this issue 1 year ago • 19 comments

Self Checks

  • [X] I have searched for existing issues search for existing issues, including closed ones.
  • [X] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [X] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • [X] Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

Scheduling tasks is a feature that would be used to execute tasks that are need to schedule to run at specific times. This feature would enhance the usability of the application by allowing users to automate task execution based on a defined schedule. The operation would be like a "cron" and the platform itself (or the "worker" rather) would be capable of executing them when the schedule conditions arrives.

2. Additional context or comments

Implement a scheduling module that allows users to set it up in the Start Node and manage scheduled tasks. The scheduler should support various scheduling intervals (e.g., hourly, daily, weekly, custom) and provide a user-friendly interface for configuring these tasks.

I see other request like this but were closed with no comments/reason for discarding.

This functionality could be implemented by other tools such as n8n but implementing them only for a schedule is not optimal or efficient and I think it would help us a lot if it were in the core.

3. Can you help us with this feature?

  • [ ] I am interested in contributing to this feature.

jmorata-waby avatar Oct 10 '24 08:10 jmorata-waby

Hi, @jmorata-waby. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.

Issue Summary:

  • You requested a workflow scheduling feature similar to "cron" jobs for automating tasks.
  • Proposed adding a scheduling module in the Start Node with various intervals and a user-friendly interface.
  • Suggested that integrating this feature would be more efficient than using external tools like n8n.
  • Expressed concern about similar requests being closed without explanation.
  • No comments or further activity have been made on this issue.

Next Steps:

  • Please let us know if this issue is still relevant to the latest version of the Dify repository by commenting here.
  • If there is no further activity, this issue will be automatically closed in 15 days.

Thank you for your understanding and contribution!

dosubot[bot] avatar Nov 10 '24 16:11 dosubot[bot]

Yeah, it's still an interesting request for schedule workflows

ghost avatar Nov 10 '24 18:11 ghost

@takatost, the user has confirmed that the request for a scheduling feature for workflows is still relevant. Could you please assist them with this issue?

dosubot[bot] avatar Nov 10 '24 18:11 dosubot[bot]

Any update or plannification in roadmap? Thanks!

ghost avatar Dec 13 '24 21:12 ghost

You can use this project to make schedule. https://github.com/leochen-g/dify-schedule @jmorata-waby

leochen-g avatar Dec 18 '24 15:12 leochen-g

Hi, @jmorata-waby. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.

Issue Summary

  • You requested a workflow scheduling feature similar to "cron" jobs to automate tasks within the application.
  • The feature aims to enhance usability by removing the need for external tools like n8n.
  • @leochen-g suggested using "dify-schedule" as a potential solution.
  • You inquired about the feature's inclusion in the roadmap, but the issue remains unresolved.

Next Steps

  • Could you confirm if this issue is still relevant to the latest version of the Dify repository? If so, please comment to keep the discussion open.
  • If there is no further activity, the issue will be automatically closed in 15 days.

Thank you for your understanding and contribution!

dosubot[bot] avatar Jan 22 '25 16:01 dosubot[bot]

hello,

This issue is still relevant. i only need this to switch from n8n to dify please

jvkassi avatar Jan 28 '25 12:01 jvkassi

hello,

This issue is still relevant. i only need this to switch from n8n to dify please

Same for me!

ghost avatar Jan 28 '25 17:01 ghost

Many workflow platforms offer event-driven processes, allowing users to trigger workflows at custom times to automate tasks. It is hoped that Dify can also provide a Schedule-driven workflow feature.

kevintsai1202 avatar Feb 24 '25 01:02 kevintsai1202

You can use this project to make schedule. https://github.com/leochen-g/dify-schedule @jmorata-waby

Great project, I really hope Dify can incorporate your features.

kevintsai1202 avatar Feb 24 '25 01:02 kevintsai1202

Hi, @jmorata-waby. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.

Issue Summary

  • You requested a workflow scheduling feature similar to "cron" jobs for task automation within Dify.
  • Users, including @jvkassi, have shown interest in this feature to replace external tools like n8n.
  • @leochen-g suggested the "dify-schedule" project as a potential solution.
  • @kevintsai1202 expressed hope for this feature to be integrated into Dify.
  • The issue is still unresolved, with users awaiting updates on its roadmap inclusion.

Next Steps

  • Please confirm if this issue is still relevant to the latest version of Dify by commenting here.
  • If there is no further activity, the issue will be automatically closed in 15 days.

Thank you for your understanding and contribution!

dosubot[bot] avatar Mar 27 '25 16:03 dosubot[bot]

Ho, it's still relevant! 😄

ghost avatar Mar 27 '25 21:03 ghost

Other AI workflow systems have scheduling features, even ChatGPT has them, please add this feature

kevintsai1202 avatar Mar 30 '25 12:03 kevintsai1202

If you have multiple workflows to execute, you might want to try this: https://github.com/itning/dify-workflow-trigger

itning avatar Apr 04 '25 04:04 itning

Hi, @jmorata-waby. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.

Issue Summary:

  • Request for a workflow scheduling feature similar to "cron" jobs within Dify.
  • Multiple users, including @jvkassi and @kevintsai1202, have expressed interest in this feature.
  • @leochen-g suggested using "dify-schedule" as a workaround; @itning proposed "dify-workflow-trigger."
  • Previous similar requests were closed without explanation, but the feature remains relevant.

Next Steps:

  • Please confirm if this issue is still relevant to the latest version of Dify by commenting here.
  • If no updates are provided, the issue will be automatically closed in 15 days.

Thank you for your understanding and contribution!

dosubot[bot] avatar May 05 '25 16:05 dosubot[bot]

Is this team not responding to the community anymore?

kevintsai1202 avatar May 06 '25 00:05 kevintsai1202

Hi, I'm yt-koike. I posted my idea on discussion "Scheduled task running like cron job?". I hope you like it and leave some comments. Thank you :)

yt-koike avatar May 18 '25 15:05 yt-koike

Our team is designing a trigger feature, which might include the scheduled task.

alterxyz avatar May 24 '25 11:05 alterxyz

Dify workflow scheduling, recommend xxl-job : https://github.com/xuxueli/xxl-job/releases/tag/3.1.0

xuxueli avatar Jun 06 '25 01:06 xuxueli