Skip to content
This repository has been archived by the owner on Nov 9, 2021. It is now read-only.

Add Rules module to GovCMS8 #420

Open
gracechanggao94 opened this issue Mar 4, 2020 · 6 comments
Open

Add Rules module to GovCMS8 #420

gracechanggao94 opened this issue Mar 4, 2020 · 6 comments
Labels
blocked enhancement Module Module requests and discussion

Comments

@gracechanggao94
Copy link

** What value does this module/package add to GovCMS?
The Rules module allows people to create custom reactions which can use on multiple cases such as sending customized email and building flexible workflow.

** Please provide a brief outline of what this module does.
The Rules module allows site administrators to define conditionally executed actions based on occurring events

** Who does this module benefit:
[ ] end users
[ ] content editors
[x] site builders
[ ] themers
[ ] developers

** How could you provide/replicate the functionality of this module using alternative methods, eg in your theme?
This module provides multiple new features and they are impossible to replicate on theme layer one by one.

** If this module styles or alters HTML or JavaScript output, can the functionality be provided via the theme? What alternatives have you considered.
As Above.

** What is the maintenance and support status of the module. Describe the issue queue activity.
The latest development version was released at 21/02/2020

** What permissions are needed to utilise the module (and are any new permissions provided by the module)?
Yes. New permissions are provided by this module .

** Does the module modify the database structure and/or store additional metadata on nodes or other entities? If so, why? What are the risks for future updates?
Yes.

** Is the module designed to capture anonymous user data?
No.

** Is the output of the module typically fully cacheable? Would the inclusion of this module potentially render pages uncacheable.
Not relevant.

** What is your assessment of the quality of this module, the contribution history of the module's maintainers, and the uptake of the module within the Drupal community?
255924 sites currently are using this module and automated tests have been included.

** Additional information
https://www.drupal.org/project/rules

@Belhendo
Copy link

Hi @gracechanggao94

A module request for Content Moderations Module has been raised here: #431

Would this address your use case? Could you please articulate your use case here for us to further consider your request.

Thank you

@roflcopterDorrie
Copy link

I would also like to see Rules introduced back into GovCMS for D8.

Our use case is around dates, using them for auditing and searching purposes.

For example, we have a Publication date field. This field isn't mandatory and users can leave it blank. If they do leave it blank and the content is published for the first time, this field is populated with the current date.

We can do this via customisations in the admin theme via form alters (in D7 at least) however detecting events such as workflow moderation state changes is buggy, prone to errors and could break anytime the Workflow moderation module is updated.

Rules is far more robust in detecting events.

Another use case we have is changing the status of a Survey after a period of time. For example the Survey is open for 4 days and we want to automatically change the status of the Survey to 'Closed' at that time. We don't want to rely on authors remembering to manually change it.

Cheers

@Belhendo
Copy link

Belhendo commented Jun 16, 2020

Noted, thanks @roflcopterDorrie. Our main blocker in this instance is that we need a stable release eg not alpha before it can be added.

@simesy simesy added the Module Module requests and discussion label Jul 21, 2020
@thisisalistairsaccount
Copy link

The module is being actively worked on and has been aligned to work with Drupal 9. However there is still has the blocker of being an alpha, without a stable release for 8 as of yet.

@saifullahakber
Copy link

saifullahakber commented Oct 7, 2020

subscribed! Very important feature from our business perspective. Is there any alternative?
Content Workflow notification must need Rules module to send email notifications to editor groups.

@thisisalistairsaccount
Copy link

An alternative to Rules is https://www.drupal.org/project/business_rules but it lands itself in a very similar position - it doesn't yet have a stable version and potential question marks about Drupal 9 compatibility.

Noting either Rules or Business Rules would be quite beneficial to GovCMS 8, in the same way it has been for GovCMS 7 sites, it might be worth prodding the developers on these projects about their plans via the tickets on their projects to determine if and when they would align to a stable release and be D9 ready

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
blocked enhancement Module Module requests and discussion
Projects
None yet
Development

No branches or pull requests

6 participants