? ?
avatar brianteeman
brianteeman
10 Aug 2018

I have created what I think is a typical workflow for a magazine (see screenshots) and hit a question

It is possible to have a transitions that go
All to One
One to Two
Two to Three
Three to Four

But its not possible to have transitions that go
All to One
One to Two
Two to Three
Three to All
or
Three to one, four

The only way to do it is to create
All to One
One to Two
Two to Three
Three to One
Three to Two
Three to Four

Can the "to state" be a multiselect and have an ALL option???

chrome_2018-08-10_11-14-12

chrome_2018-08-10_11-14-23

avatar brianteeman brianteeman - open - 10 Aug 2018
avatar joomla-cms-bot joomla-cms-bot - change - 10 Aug 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 10 Aug 2018
avatar franz-wohlkoenig franz-wohlkoenig - change - 10 Aug 2018
Status New Discussion
avatar franz-wohlkoenig franz-wohlkoenig - change - 10 Aug 2018
Category com_workflow
avatar brianteeman brianteeman - change - 10 Aug 2018
Labels Added: J4 Issue
avatar brianteeman brianteeman - labeled - 10 Aug 2018
avatar rdeutz rdeutz - change - 10 Aug 2018
Labels Added: ?
avatar rdeutz rdeutz - labeled - 10 Aug 2018
avatar franz-wohlkoenig franz-wohlkoenig - change - 21 Aug 2018
Title
Workflow - transitions
[4.0] Workflow - transitions
avatar joomla-cms-bot joomla-cms-bot - edited - 21 Aug 2018
avatar bembelimen
bembelimen - comment - 24 Aug 2018

In theory it could have an "to all" stage, but the problem here is, that you will have a problem with the transition, because imho you name the transition targeting the new stage. So if you change something to "trashed", you would probably name your transition something like "move to trash".

Now if we allow "to all", which is technically no problem, the naming of the transition is not distrinct.

avatar brianteeman
brianteeman - comment - 24 Aug 2018

look at my example above and you will see the problem I think we should resolve.

avatar brianteeman
brianteeman - comment - 24 Aug 2018

It's about ensuring that a workflow can be bidirectional

avatar bembelimen
bembelimen - comment - 24 Aug 2018

I see the problem, I see also the "naming" problem.

My comment was more: that's the reason for the current status, but I'm as always open for good ideas. It's a very small change in code to implement it.

At the moment the target condition is visible, perhaps we should change this to "stage", so we have something like:

Transitionname [stage 1]
Transitionname [stage 2]
Transitionname [stage 3]

avatar brianteeman brianteeman - change - 8 Nov 2018
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2018-11-08 13:17:44
Closed_By brianteeman
avatar brianteeman brianteeman - close - 8 Nov 2018
avatar franz-wohlkoenig franz-wohlkoenig - change - 20 Apr 2019
Labels Added: ?
Removed: J4 Issue ?
avatar franz-wohlkoenig franz-wohlkoenig - unlabeled - 20 Apr 2019

Add a Comment

Login with GitHub to post a comment