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

Neeraj420 created an issue. See original summary.

neeraj420’s picture

StatusFileSize
new10.26 KB

I have attached the screenshot because of which probably i am getting this error.

Please check the image attached.

Thanks and Regards,
Neeraj

johnv’s picture

This is the screenshot of the Permissions.pleaae upload a screenshot of the State configuration page.

neeraj420’s picture

StatusFileSize
new172.93 KB

I 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

neeraj420’s picture

By any chance is there any conflict between Workbench modules and workflow modules?

ramya balasubramanian’s picture

Hi 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.

ramya balasubramanian’s picture

Hi ,

Sorry that permissions.yml file is in alpha release not in dev version.

neeraj420’s picture

Hi Ramya,

Sorry didn't understand your comments, I did the correct configuration or is there issue

neeraj420’s picture

Any update on this please.

neeraj420’s picture

John,

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.

punamshelke’s picture

Assigned: Unassigned » punamshelke

  • PunamShelke committed 3317114 on 8.x-1.x
    Issue #2944729 by PunamShelke: Workflow state config is not changing the...
punamshelke’s picture

punamshelke’s picture

Status: Active » Fixed
johnv’s picture

Status: Fixed » Active

@PunamShelke , the patch #12 is only formatting. It does not change the code logic. I doubt this issue is resolved.

punamshelke’s picture

@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

neeraj420’s picture

Is the issue resolved or still exist in version 8.x-1.1? Any updates please?

punamshelke’s picture

@neeraj

I will check and let you know by end of the day...........

neeraj420’s picture

Any updates please.

danielcavanagh’s picture

@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

neeraj420’s picture

@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.

punamshelke’s picture

Hi 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...

punamshelke’s picture

Sorry for delay replying,
I am at Client location and working with different framework

neeraj420’s picture

@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

punamshelke’s picture

Content 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

finex’s picture

Priority: Normal » Critical

Hi, 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.

johnv’s picture

Version: 8.x-1.0-alpha1 » 8.x-1.x-dev

Indeed, 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.