Questions tagged [workflows]

The process of moderating content for publication in Drupal according a set of business rules is a workflow.

73 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
1answer
595 views

EntityFieldQuery with Workflow

I need to filter an EntityFieldQuery with a given workflow state, let's say workflow it is state 21 (sid = 21). Below, the query I am using $query_formularios_completos = new EntityFieldQuery(); $...
3
votes
0answers
257 views

Change workflow transition state of translated node

I have a content node that has several translated nodes attached to it. My goal is to set the workflow transition state of translated nodes according to the state of the "original" node. The problem ...
2
votes
1answer
52 views

Error viewing articles/pages after assigning

As an experiment I've merged core from 8.3.x branch to try out workflow. After successfully assigning 'editorial workflow' to articles and pages, I cannot access the pages or articles anymore neither ...
2
votes
0answers
45 views

Multilingual admin interface

I have a multilingual website ( english, dutch and german ). The language detection is setup to look at the URL for both interface and content. This results in an admin interface that goes from dutch ...
2
votes
0answers
99 views

Add a non-system confirm popup on node add/edit

I want a custom confirmation popup to come up when someone wants to save a new node or update an existing one. Of course, the form only submits/saves info if the user clicks Yes. As it is now the ...
2
votes
1answer
33 views

Features - keeping Git up to date when changing features on production

I have a Drupal 7 site with a UAT version and Production version. Most of the features on production have been overridden. I want to keep my repository up to date in case anything happens to my ...
2
votes
0answers
30 views

Ignore certain state transitions in Workflow

Is it possible to disable certain state transitions with Workflow? I have 4 states: Pending, Approved, Denied, and Urgent. A node goes directly to Pending when saved, where an editor can either ...
2
votes
2answers
177 views

Can't get workflow to show up on D7 Menus

The workflow menu doesn't seem to show in the menu system in Drupal 7. The only place that I see "workflow" is in the configuration section, and it appears as a section called "workflow" and it only ...
2
votes
1answer
316 views

Assign a submitted Node to a Single User of Role Editor

I am building a content publishing website. There are users with different roles editors, authors, content managers. There are many users with each role. Now what needs to be done is to assign a node ...
2
votes
2answers
2k views

Generate one-time-use custom links for emails and interact with them to accomplish tasks

Is there a module that would auto-generate custom unique one-time-use URLs that timeout after a set time, and can be used to accomplish tasks and progress workflows in Drupal 7? Use Case 1 User ...
2
votes
0answers
344 views

Workbench access - how to limit which which menus user can add to

I have a workbench workflow system that's setup using a taxonomy to manage the sections. Is it possible to restrict which menu items a node can be added to, depending on a user's section. Even ...
2
votes
1answer
78 views

How can I put a time-delayed lock on a node?

I'm using Drupal 7, and would like to add a time-delayed lock to a specific node type: when a node of that type is created, the creator of the node has fifteen minutes to edit that node. The node then ...
2
votes
0answers
132 views

Rules: how to email “last edited by” user

I am using Rules for a node publishing workflow. When a node is in "needs review" status and an admin either rejects or publishes the draft, I'd like to notify the user who created the draft (i.e. not ...
1
vote
0answers
102 views

Using workflow with webform for moderation

I'm working with a Drupal7 site, it currently has both webforms and workflow modules. I need to move a webform from request to approve stages. I defined the stages, & Created a trigger for the ...
1
vote
0answers
35 views

A way to export workflow states globally?

My workflow and states weren't migrated from D6 so I re create them by hand. But I need to use them on another D8 website, and I don't find the way to globally export them, only state by state......
1
vote
0answers
26 views

Can Workflow Module be “non-linear”

I have two potential workflows in mind for website content: "Regular" Content Write Article (Draft) Content/Style Review Publish Content "Sensitive" Content Write Article (Draft) Compliance ...
1
vote
0answers
60 views

Can multiple revisions of a node (entity) have different languages?

For example, we have a published English node, and a user creates a new draft and set the language (from the node form) to German and creates a new revision. This way the latest revision of the node ...
1
vote
0answers
36 views

Why is the WorkflowType in Drupal 8.5 Content Moderation so large?

I would like to create a custom WorkflowType in Drupal 8.5. I looked at the Content Moderation source, and it is a massive set of code. I don't mind coding, but is all the source for Content ...
1
vote
1answer
32 views

Trigger on selected field change

So I have a Drupal 7 Workflow rule where an email is sent out when a select field on a comment is set to "Approved'. This works fine with the exception being if I then add an additional comment to ...
1
vote
0answers
105 views

Get All “Drafts” in Content View

In essence, I'm trying to make a view of the moderation state "Drafts", (using Content Moderation). The catch, I'm trying to do so in a Content view for maintainability purposes. However, it won't ...
1
vote
0answers
49 views

How to link a a custom workflow with a content type or an entity?

I have a custom entity booking. I created a custom workflow type booking_moderation dedicated to this in Drupal\my_module\Plugin\WorkflowType\BookingModeration. I could then add my desirated states ...
1
vote
0answers
67 views

Proper Workbench Access/Moderation/Email + Node permissions for my use case?

I've been banging my head against the wall all weekend trying to figure this out but just can't seem to get 100% of the way there... I fix one thing, causing another thing to break. Making me question ...
1
vote
1answer
109 views

How to publish in an organization with hierarchy?

My Drupal experience is limited to a single site with custom content types and standard roles. Please take a look at the use case below, involving content being routed through multiple organizational ...
1
vote
0answers
22 views

How to debug no moderation_state on revision

I have a custom entity (not written by me) that I need to debug. It's currently crashing when editing the Entity because there is no moderation_state on the default revision. I'm new with both: ...
1
vote
1answer
21 views

How to use views to filter specific workflow state in current month

I have a system that is heavily workflow dependant. I have a content type called 'Profile' with 3 states : Lead Prospect Customer I would like to know how to create a views contextual filter of all ...
1
vote
1answer
36 views

“Unable to send email” error shown to anonymous users in Workflow action

Using the Workflow module, I've got a content type that can be created by anonymous and authenticated users alike, then it goes into a review process. Upon creation, I want to email the user with a ...
1
vote
0answers
25 views

How can I validate a state change?

I'm working with the Workflow module, and I'm trying to validate fields before a state change is allowed. What mechanisms exist to allow this?
1
vote
0answers
17 views

How to make node view show approved, not latest

I've got a client with an old Drupal 6 site that uses workflow and revisions. They want a blog added with related content types and Views. All works except that for the node page itself, it shows the ...
1
vote
0answers
106 views

Saving file not working with rules module

I want to execute some custom code when going from state A and B. I'm using the rules module and workflow module and trigger when changing state. This works but the custom code that I want to run ...
1
vote
0answers
24 views

Advanced file handling with workflow

I have a field with type file. The whole content type follows the workflow process. As of now, when a new file is added to the new revision, it automatically gets renamed and the recent file will be ...
1
vote
1answer
85 views

How to avoid missing status for Workflow access module permission just after node creation?

I am using Workflow 7.x-2.8 to manage peer-reviewing publication. When an authenticated user (an author) creates a post, he can choose a first workflow state transition from creation (by default) to ...
1
vote
0answers
64 views

How to change a content´s workflow state from an url

I have a server installed with apache2 and drupal 6. In my server, users can make some type of new contents. When they make a new content, they receive an e-mail with creation confirmation. I´d like ...
1
vote
0answers
48 views

How can I add date field in workbench moderation form in Drupal 7?

I have a content type. I applied workflow for this content type of using the Workbench, Workbench moderation, Workbench access module. When using I see arise a problem to add to my software that I ...
1
vote
1answer
68 views

Required taxonomy term fields for node publishing?

I want to create content which has shared some aspects. I am doing this through a taxonomy reference. The taxonomy has certain fields that describe each piece of content (in my case used cars). In ...
1
vote
0answers
617 views

Get Workflow current state ID of a node

I'm trying to get current workflow state of a node to use in a function which will disable some tabs according to conditions. $current_state = workflow_node_current_state($node) didn't work. So, I ...
1
vote
1answer
130 views

How to stop same-state state changes in Workflow state change block?

I am using Workflow with a custom content type. I have the Workflow state transition form as a sidebar on my node view page. I made the workflow states into buttons so that you can choose which state ...
1
vote
2answers
80 views

How to disallow users to edit their content after it was submitted for review?

I'm looking for a solution that does not allow a user to edit content after being submitted for review. I'm working with two roles: Content Creator and Reviewer. If the Reviewer rejects the content, ...
1
vote
0answers
53 views

View not displaying nodes to anonymous users (workflow + views)

After changing from WorkflowNode to WorkflowField, and migrating the content, the nodes are not displayed to any other user but to our Administrator role on the View we created for that content type. ...
1
vote
0answers
61 views

Make a field mandatory on workflow transition

I'm using workflow 7.x.2.x module and I want to make some fields mandatory during a transition. Can anyone please help me with the ideas.
1
vote
0answers
25 views

Export Workflow 2.4

I'm trying to export the workflow configuration from a site using Workflow 7.x-2.4 but the state names and transitions are not well exported. I'm exporting some strongarm and workflow variables but ...
1
vote
1answer
75 views

Should I use the Workbench Access module to implement the workflow we have in mind?

I am new to Drupal altogether and have a question about a site i was asked to work on. We think that Workbench Access will solve our problem but we have not yet figured out how to make it work the way ...
1
vote
1answer
115 views

Which permission do I need to give to see all open tasks in the Maestro taskconsole

It is unclear to me which permission I do need to give to a specific role, to see all open tasks in the Maestro taskconsole, just like an admin sees all tasks. Thanks for your help
1
vote
0answers
40 views

Overlay inconsistency with tabs

I just enabled and configureda workflow module. The edit, outline and revisions tabs display in an overlay state whereas the workflow goes out of the overlay and to the site, if that makes sense. Why ...
1
vote
0answers
64 views

How should I set up revisions for this content model?

I need to manage a library of government policy documents (PDF/DOCs and metadata) such that, for a given document, a user can change any of its fields (including attached files and the title) over ...
1
vote
0answers
158 views

CCK field in Workflow tab

I would like to add a user reference field to the Workflow tab. Currently we have a user reference CCK field but it is only editable in the Node edit form. Really it would make much more sense to be ...
1
vote
1answer
212 views

Commerce rule for total of product lines only (not shipping as well)

I have a requirement to add an amount to the total of all Commerce product lines items in a users cart and then add that amount to the shipping amount. The rule I currently have uses the "calculating ...
0
votes
0answers
8 views

How can I delete in bulk the submissions on a workflow

I have 400 some odd responses to a woprkflow i would like to delete. I dont want to delete them individually. How can i do it in bulk? Tha
0
votes
0answers
18 views

Content moderation “current revision” not set on nodes migrated from Drupal 7 where there are both a published and draft revisions

I am working on upgrading a Drupal 7 site to Drupal 8. The upgrade uses a content-only custom migration. The Drupal 7 source site and the Drupal 8 destination do not contain any custom modules other ...
0
votes
0answers
18 views

workflow rule data selector example

I need to add a user role when the workflow value is set to "approved". This role is setup already. Use case: An authenticated user fills out a webform, I have a custom module to add an ...
0
votes
0answers
15 views

Can a published node have a later unpublished revision?

I haven't used Drupal for a while and I'm wondering whether this has been fixed recently or whether I'm mis-remembering. I believe that if revision X of a node is published, it wasn't possible to ...