14
votes
Accepted
How to apply Site specific workflow in Sitecore?
If the workflows are not drastically different, you can achieve 'site-specific' workflow via content security.
Step 1: Workflow security
Create a single workflow definition with some generic access ...
11
votes
Accepted
the selected version will not be visible on the Web site because it has been replaced by an older version
Check if Version 2 of your item in "final" workflow state.
This is not an error. This is a functionality of Sitecore. When the current item version you are working on does not satisfy the requirement ...
10
votes
Updating Workflow for all the Items in Sitecore Instance
You can use below powershell script (https://gist.github.com/marcduiker/950e0358bb4752ed5b047931a8c958c1) :
# This is the ID of the workflow that will be set on the content items.
$script:...
10
votes
How to get workflow comments?
Using the code below, you can get comments from all workflow states of any particular item version:
Sitecore.Workflows.WorkflowEvent[] workflowHistory =
Database.WorkflowProvider
.GetWorkflow(...
9
votes
Accepted
Workflow without lock and edit option
This is not a good idea.
If you want remove the requirement to Lock and Edit an item then you can update the following setting to false:
<!--
REQUIRE LOCK BEFORE EDITING
If true, the user ...
8
votes
Accepted
How can I disable Workflow email notifications completely on the CMS?
Well the first thought that comes to mind is the deletion of the E-mail Action Item, found in the System/Workflows area of the content tree. It would appear under the workflow that you currently have ...
8
votes
How to get workflow comments?
You can always use Sitecore PowerShell Extensions if you would like to generate reports or build a UI around the history data.
$item = Get-Item -Path "master:" -Id "{110D559F-DEA5-42EA-9C1C-...
8
votes
How to prevent publish item using validation rule?
Yes, it is possible to do this without customization.
Sitecore has the special validation rule that is named "Required", which checks fields that contain the value.
You can find it in Sitecore/...
8
votes
Accepted
How to turn off "JSS Development Workflow"?
To disable workflow entirely across your JSS templates and existing items, you can use the following bit of Sitecore PowerShell to clear the Default workflow on templates, and the Workflow and ...
7
votes
How to configure the level of Deep in Sitecore Workflow?
deep parameter support just two values "1" and "other value"
I describe above all parameters what they are doing.
You need to override PublishAction to handle deep publishing on multiples level.
...
7
votes
Accepted
How to invoke Workflow on the particular item using Sitecore API?
Here is code which changes workflow state and executes actions:
public static WorkflowResult ChangeStateAndExecuteActions(Item item, ID workflowStateId)
{
using (new EditContext(item))
{
...
7
votes
Accepted
I deleted a page, but it still appears on the site. How can I delete this page?
Make sure to check "publish subitems" when publishing parent folder.
To verify if the item was removed from the web database, switch to web database from Sitecore Desktop and see if your page is ...
7
votes
How to add custom code on workflow state change?
There's no pipeline or event that you can plug into in the general sense of Sitecore's pipelines and events that you see in the ShowConfig. Instead, it's driven by an Item based pipeline provider.
...
7
votes
Accepted
How to programmatically refresh a Sitecore item on Content Editor upon editing it
After hours of investigating the issue, I found the problem that I am supposed to send the load command using ClientResponse instead of SendMessage.
Thanks, everyone for your help.
string load = $"...
7
votes
Get list of Sitecore items updated by Specific User
Sitecore PowerShell Extensions includes a report out-of-the-box for items last updated since a specified time. Screenshots taken with SPE 5.1.
I shared using this report for a similar issue where the ...
6
votes
Approve child items if parent item approved in Sitecore workflow
There's no out of the box functionality to approve child items Sitecore, but it is a common enough of a problem.
Basically you would need to write a custom approval action that checks all related ...
6
votes
Accepted
Workflow Comment popup does not show up in workbox
For bulk workflow operations there is a setting which decides whether the comment box should be displayed or not.
Add
<setting name="Workbox.SingleCommentForBulkOperation">
<patch:...
6
votes
Adding workflow for item deletion
One way you could handle this would be to remove access (through security) to Delete items in the tree and instead add a workflow command that sends the items through a "Delete Workflow."
1. Restrict ...
6
votes
Accepted
How does the SXA Datasource Workflow work?
Sitecore support advised the following:
1.
Indeed, currently it is needed to manually assign the workflow to datasource items. I have registered a wish for future versions of SXA to improve this ...
5
votes
Sitecore Mixed Content error for workflow
In my case we have a load balancer terminating TLS and then passing decrypted traffic to the backend CM server on port 80.
The only solution we could get working is to add a the header Content-...
5
votes
Accepted
How to show custom message while submitting workflow comment window?
It is a dictionary item in core database. So go to the core, open Content Editor. Search for this item: /sitecore/system/Dictionary/S/Some of the fields in this item contain critical errors Are you ...
5
votes
Accepted
Workflow not being applied
Are you logged in as an Admin? Admins are not subject to workflow enforcement.
5
votes
Accepted
Bulk workflow approval
I wrote the article that you linked to in your question, and my main motivation for writing it was the (current) lack of documentation around this new feature.
Does this work if the data sources ...
5
votes
Sitecore Email Cloud compared to the custom SMTP
The difference between Sitecore Email Cloud Delivery and Custom SMTP are pretty simple. But to really understand why they exist, some background is needed.
What is a Mail Transit Provider and why do I ...
5
votes
Accepted
Decide the Workflow state on the fly
You can create an interim Workflow State which specifies an Action to decide which state to move the workflow to next.
For example:
Ensure you have set the following:
The Submit Action on the Draft ...
5
votes
How to set workflows in a Sitecore environment with SXA and Helix?
My two cents
If to go strictly after the Helix documentation it seems like both the workflows and the datasources should belong to the project layer:
https://helix.sitecore.net/principles/templates/...
5
votes
How to turn off "JSS Development Workflow"?
The simplest way will be just removing the Default workflow from the existing template's standard value and update/enable it back when needed. Also the new templates needs to be created without any ...
5
votes
Accepted
Get list of Sitecore items updated by Specific User
You can use below PowerShell to get a list of items updated by a specific user in last X days
Script
$path ="master:/sitecore/content"
$items = Get-ChildItem -Path $path -Recurse |
...
5
votes
Approver role doesn't see the workflow actions
The the role to see the actions, you have to assign the permissions at the action level. Without that, the role will be denied the permissions to see the action.
4
votes
Bulk workflow approval
I'll try and answer some of these questions.
It does sounds like this setting will do what you want, and by default it's enabled in 8.2:
<setting name="WebEdit.AffectWorkflowForDatasourceItems" ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
workflow × 125sitecore-client × 15
experience-editor × 11
publishing × 11
content-editor × 10
workbox × 9
security × 8
powershell-extensions × 6
pipelines × 5
sxa × 4
sitecore-api × 4
validation × 4
role-management × 4
permissions × 4
powershell × 3
events × 3
user-management × 3
jss × 2
multisite × 2
versions × 2
editor-user-permissions × 2
sheer-ui × 2
sitecore-forms × 1
exm × 1
presentation × 1