This could be direct integration with the Scheduler module http://drupal.org/project/scheduler or perhaps another mechanism to move nodes between arbitrary states at a set time in the future.

Comments

rp7’s picture

subscribe

Cyclodex’s picture

subscribe

note: I have explained some problems regarding to use workbench moderation & scheduler here :
#1127734: Add option to block creation of new drafts based on moderation state

Anonymous’s picture

subscribe

fathershawn’s picture

I'm interested in this. Does anyone have a handle on the basic issues yet or is that the first step?

jaiiali’s picture

subscribe

fathershawn’s picture

Workbench Moderation "doesn't have a mature api" and neither does Scheduler. Our first decision point really is one of:

  • Integrate with Scheduler
  • Keep looking for another mechanisim

The Scheduler api has one function, which fires in the Scheduler code after (un)publish action is executed. If we integrate with Scheduler we would need to combine what Workbench Moderation knows about the moderation state with what Scheduler knows about (un)publish dates and times. We could collaborate with Eric Schaefer, the Scheduler maintainer, to add a hook to Scheduler that fires before the publish action testing if the action should be skipped. We could then add a hook implementation to Workbench Moderation that checks the moderation state and returns TRUE if the content should be published.

dave reid’s picture

Version: 7.x-1.0-beta5 » 7.x-1.x-dev

It would be nice to work with Scheduler, although we'll have to work to allow Scheduler to work based on revisions, not entire nodes. I have some code that I'm going to be cleaning up and seeing if we can re-use for this issue.

Anonymous’s picture

What about Rules based scheduling? Maybe Workbench Moderation could create a few scheduling actions to manage the workflow

fathershawn’s picture

Look forward to the code - shout if you think I can help

BenK’s picture

Subscribing

dave reid’s picture

Assigned: Unassigned » dave reid

Officially going to drive this one. :)

tsvenson’s picture

It might be worth looking at the Scheduled Actions module as an alternative. It is developed directly for Drupal 7 and the maintainer is open for integrating it with Workbench Moderation, such as via Rules integration. See #1228042: Integration with Workbench for more information.

simon georges’s picture

I need this for a project a well.
@Dave Reid, do you want some help to implement this (following your guidelines, obviously) ?

robeano’s picture

Priority: Normal » Critical

This is not a 1.0 release blocker but I understand this needs development sooner rather than later.

clashar’s picture

+1

droath’s picture

Subscribing

dave reid’s picture

We are working on a module that will allow users to schedule revision operations at arbitrary dates. This module is being developed independently of Workbench but we will add integration with the revision moderation states provided by Workbench Moderation. We hope to have it posted soon.

dave reid’s picture

Title: Scheduler integration. » Scheduler integration
Priority: Critical » Major
marblegravy’s picture

sub

mattkoltermann’s picture

sub

Kvart’s picture

subscribe

mikus’s picture

sub

nico heulsen’s picture

subscribe

@Dave Reid, Is there a place where I can have a look at that code from #17. Really like to help with that, since we really need this for a project.

Vandalf’s picture

subscribing

ryanwebpage’s picture

subscribing

theunraveler’s picture

sub

mropanen’s picture

Could this functionality be achieved by using scheduled Rules with a date field, so that Rules would trigger a custom action that sets $node->workbench_moderation_state_new = "published" when the date has been reached?

RyanPrice’s picture

Subscribe.

pastizzi’s picture

Subscribe

dave reid’s picture

Thanks everyone for being patient. We should be able to release this code as a module very, very soon. There was some internal confusion as to if the client had invoiced and paid for the work yet that we are resolving hopefully today or early next week.

rowbeast’s picture

subscribe!

longwave’s picture

@rowbeast: Click the big green Follow button at the top of an issue instead of subscribing; that way you don't bump the thread when there is no news (which I hoped there was when I clicked this today!)

dave reid’s picture

Status: Active » Fixed

The module has finally been published and released as http://drupal.org/project/revision_scheduler! It currently integrates with Workbench moderation but the integration will be moving from Revision scheduler to Workbench moderation.

hyperglide’s picture

@dave Reid!

Thanks this is wonderful news! I see that the module is listed in a dev state.

Can you offer any words on if stable for a production site?
Please send my thanks to "Minnesota Public Radio".

schnitzel’s picture

probably we should discuss this in the Revision_Scheduler Issue queue, but short reply:

We are using the module for a customer project and it seems to work correct, the problem is the UX, which is already discussed in this issue: #1342824: Add a 'schedule this revision' fieldset on the node edit form

there is already a patch which handles an easy case, we are close to have a patch which also allows to have suggested schedules.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.