I am using the Drupal 8.4.4 on Windows with Apache and PHP7
Installed modules are following related to Workflow
workflow-8.x-1.0
workflow_state_config-8.x-1.0-alpha1
workflow_notifications-8.x-1.0-alpha2
workflow_sms_notification-8.x-1.0-alpha1
Before installing workflow modules have installed and uninstalled Workbench suite modules.
The issue I am facing is I have enabled two different workflow states to publish the content. However when the workflow state transition to the state configured to publish the content is not changing the published state.
Please help.
Thanks and Regards,
Neeraj.
Comments
Comment #2
neeraj420 commentedI have attached the screenshot because of which probably i am getting this error.
Please check the image attached.
Thanks and Regards,
Neeraj
Comment #3
johnvThis is the screenshot of the Permissions.pleaae upload a screenshot of the State configuration page.
Comment #4
neeraj420 commentedI have tried both the configuration. but it is not publishing at any of the stages.
Also I uploaded the permission screenshot to check whether the State Config permission will show Notification permission similar to workflow notifications.
Neeraj
Comment #5
neeraj420 commentedBy any chance is there any conflict between Workbench modules and workflow modules?
Comment #6
ramya balasubramanian commentedHi Neeraj,
Before Publishing the content,Default Revision should be checked. I think , U have missed that in second screenshot. Permission wont affect the states( 'Publish') of the content.
Comment #7
ramya balasubramanian commentedHi ,
Sorry that permissions.yml file is in alpha release not in dev version.
Comment #8
neeraj420 commentedHi Ramya,
Sorry didn't understand your comments, I did the correct configuration or is there issue
Comment #9
neeraj420 commentedAny update on this please.
Comment #10
neeraj420 commentedJohn,
Are there any changes in the development version? will it be worth a try to test with Development version instead of a alpha1 Version?
Or is there any other way i can publish a node in case state config is not working.
Comment #11
punamshelkeComment #13
punamshelkeComment #14
punamshelkeComment #15
johnv@PunamShelke , the patch #12 is only formatting. It does not change the code logic. I doubt this issue is resolved.
Comment #16
punamshelke@johnv
No, Actually Permission file on which I am working is their in alpha released so I removed that file from 8.x-1.0-alpha1 and created new release same as development
Comment #17
neeraj420 commentedIs the issue resolved or still exist in version 8.x-1.1? Any updates please?
Comment #18
punamshelke@neeraj
I will check and let you know by end of the day...........
Comment #19
neeraj420 commentedAny updates please.
Comment #20
danielcavanagh commented@neeraj420
Lol. Just had the same issue as you and after digging a bit I've realised that this module does very little... It just sets some config and nothing else!
You need to install workflow_moderation to get it to read the config and set the 'published' and 'default revision' statuses. Not sure why it's split into two modules but at least you have your answer now
Comment #21
neeraj420 commented@danielcavanagh
Probably what you are saying is correct, however. I see few advantages of Workflows module over workflow_moderation.
one and foremost is ease of configuration may be because I have been working on that from start.
So I would like to stick to it instead of moving to workflow moderation module
@PunamShelke
Any update on this please?
Thanks and Regards,
Neeraj.
Comment #22
punamshelkeHi Neeraj,
this one is completely dependent module to workflow moderation...
if you want to do state level configuration then you can use the core content moderation along with the workflows...
Comment #23
punamshelkeSorry for delay replying,
I am at Client location and working with different framework
Comment #24
neeraj420 commented@PunamShelke
No worries. then I would suggest that while installation / Configuration there has to be some documentation / pointer which says workflow moderation or core content moderation is required
Comment #25
punamshelkeContent moderation is not required for my modules...
As you said you are using workflows module and you don't want to change it,
so alone with workflows you can use content moderation no need to use workflow state config module
Comment #26
finex commentedHi, I'm using workflow module. It looks that workflow_state_config just set a configuration but it doesn't really publish the entity on state change as wrote on #20.
The module description should be updated writing that this module is not complete.
Thanks.
Comment #27
johnvIndeed, this is still the case. It seems the module misses a module file or Hooks class.
Project page also state the module depends on 'Content Moderation', which is not formalized in the code.