? No Code Attached Yet
avatar alve89
alve89
23 Aug 2021

Steps to reproduce the issue

When using workflows for articles, an article can't have a timed featured, so you can't set a start or a finish for the article to be featured.

Expected result

This actually makes sense because you can't toggle the featured status manually but only via the workflows / transitions. But this increases the effort of managing all content by far because the manager have to check all the old articles which are still featured.

So the only idea I had was not just start / finish featured (when using workflows), but set a start/finish for any transition.

System information (as much as possible)

J4.0.0

avatar alve89 alve89 - open - 23 Aug 2021
avatar joomla-cms-bot joomla-cms-bot - change - 23 Aug 2021
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 23 Aug 2021
avatar richard67 richard67 - change - 23 Aug 2021
Category Feature Request
avatar richard67
richard67 - comment - 23 Aug 2021

@alve89 Do I get it right and this issue is a feature request?

There is a Summer of Code 2021 project for integrating a scheduler into Joomla 4.1: #35143 .

As far as I know there are ideas to use that also for scheduled workflow transitions.

Maybe @bembelimen can tell better what the plans are with that.

avatar brianteeman
brianteeman - comment - 23 Aug 2021

No this is nothing to do with the gsoc scheduler.

avatar alve89
alve89 - comment - 23 Aug 2021

Just to be clear and to avoid any misunderstandings: I mean the problem, that this times aren't stored (and therefore also not used) when using workflows:

image

avatar brianteeman
brianteeman - comment - 23 Aug 2021

The cause of this is the same as the one reported here.
#29942

avatar bembelimen
bembelimen - comment - 23 Aug 2021

The idea with timed transition execution for the workflow was floating around for a while in our heads. The biggest challenge was: how can we support this feature on small webhosts without cronjob functionality, that was the main reason, why #35143 was started.

But some more functionallity is needed, like a workflow API ( + Scheduler plugin) and an interface to manage the timing in articles etc.

So it all depends, if we're finding developer/designer who implement it...

avatar brianteeman
brianteeman - comment - 23 Aug 2021

@bembelimen It doesnt need cronjobs or scheduled tasks. It will work just as simply as the current non-workflow system would work. The problem is that both of them have a bug that you cannot save a date unless you already made it featured

avatar bembelimen
bembelimen - comment - 23 Aug 2021

I know, but what I would like to have is that there are e.g. repeating events and someone creates an article, where he posts some stories for this day.
Now the user can go into the system and set up: article should be published 3 days before the event, 1 day before it should be featured, 1 day after unfeatured and the next day unpublished. This should be automatically repeated every year without any manual interaction.

There you would need the scheduler and you're much more flexible/automated.

avatar bembelimen
bembelimen - comment - 23 Aug 2021

Btw. this feature up/down function is really awful, as bad as the publish up/down, which also only works when the article is published (and does not publish up from unpublish)....

avatar alve89
alve89 - comment - 24 Aug 2021

@bembelimen I really like this idea of a "scheduler". And I understand the basic problem @brianteeman: If you're using workflows, you can't just make an article scheduled featured because this could need a new stage / transition of the workflow.

But: As long as this isn't implemented (and it doesn't sound like "only a little effort") I agree with @brianteeman - may be you just can enable

  1. Saving times for scheduling
  2. Triggering them as it works the non-workflow-way

It's not a clean way (actually it's quite qad) but the "real" scheduler will take quite a long time until it is implemented (mainly because it's a new feature, while there still are bugs which is more important to fix).

So: The worst thing that could happen is that an article is automatically featured without an transition / without setting a new stage.

avatar Hackwar Hackwar - change - 22 Feb 2023
Labels Added: ?
avatar Hackwar Hackwar - labeled - 22 Feb 2023

Add a Comment

Login with GitHub to post a comment