Hi,

It could be useful to allow an operation to be scheduled to occur at a future date. Idea came from http://groups.drupal.org/node/52993.

Thanks,

Andy

Comments

infojunkie’s picture

Thanks for the suggestion. I'll add it to the roadmap.

andyf’s picture

Thanks!

hansrossel’s picture

Would be indeed an interesting feature. I suppose you could do it at the moment with rules. Rules can be scheduled and rules can execute vbo programatically on cron trigger, but its of course less user friendly

infojunkie’s picture

@hansrossel: Thanks for the suggestion approach. This looks interesting because it saves some coding effort. I could add an option to the VBO admin screen to schedule the VBO execution, and create the rule entry behind the scenes, to avoid the need for navigating to the rules admin page.

Unfortunately, seems that the VBO execution action is not fully integrated with Rules yet, so I need to work on that first: #740754: No object or context available when calling VBO from Rules (views_bulk_operations_action)

andyf’s picture

@hansrossel: but if you execute the VBO programmatically you lose the VBO UI, no? The original requirement was to have a non-technical user choose some nodes, choose a date and time, and have those nodes change workflow state at that date and time. I don't think that's currently possible just using rules?

cyberwolf’s picture

Subscribing.

infojunkie’s picture

@AndyF: Did you try the Job queue module? VBO can schedule actions to be executed during cron runs using Job queue.

steven jones’s picture

Also, have a look at the Rules and views integration module.

andyf’s picture

Thanks for the two suggestions. This isn't something I need, and when the idea came up in a discussion, I thought I'd mention it as a feature request here. I had a quick look at job_queue, and it seems to just provide a decent backend mechanism for bulk processing - not exactly what was required.

I didn't look too deeply into rules_views as it doesn't have documentation or a stable version - but it sounds interesting!

Thanks again for your time,

Andy

fago’s picture

With on-the-fly Rules action configuration (also see http://drupal.org/node/761750#comment-3210292) this would be possible just with the standard schedule action of Rules. You'd just have to configure the date + any further needed arguments. This is D7 only though, however it could be implemented similarly in d6.

bojanz’s picture

Status: Active » Closed (won't fix)

There's also http://drupal.org/project/scheduled_actions.
Since people have been solving this problem outside of VBO, I don't think we should attempt to do anything here.

Having a tutorial available for people, and linked from VBO documentation would be nice though.