I'm facing an issue on selecting certain workflow in workbox
Edit 1: the workflow that has the issue is the one in the select box that has black label , approval workflow - generic.
Sitecore 10.1.0
steps taken to resolve issue,
check item name validation configuration. https://stackoverflow.com/questions/23931721/sitecore-workbox-empty-string-is-not-allowed-error
push all items in that workflow to a final state using powershell script, In case content is the issue.
make sure according to relevant answer here that default comment template has a value https://stackoverflow.com/questions/37201210/sitecore-server-error-in-application-empty-strings-are-not-allowed-param
tried all the above fixes,however issue still persists, If anyone has any info regarding this issue, please share with us, thank you.
Edit 2 :
Also extra check has been made to make sure workflow item that has the issue and all children items under it like commands, action items, has only 1 language (English by default) and only 1 version
detailed exception can be found below
Server Error in '/' Application.
Empty string is not allowed.
Parameter name: value.
Actual value was .
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentOutOfRangeException: Empty string is not allowed.
Parameter name: value.
Actual value was .
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[ArgumentOutOfRangeException: Empty string is not allowed.
Parameter name: value.
Actual value was .]
Sitecore.Diagnostics.Error.AssertString(String argument, String name, Boolean allowEmpty) +172
Sitecore.Shell.Framework.CommandBuilders.CommandBuilder.Add(String key, String value) +64
Sitecore.Shell.Applications.Workbox.WorkboxForm.CreateCommand(IWorkflow workflow, WorkflowCommand command, Item item, XmlControl workboxItem) +443
Sitecore.Shell.Applications.Workbox.WorkboxForm.CreateItem(IWorkflow workflow, Item item, Control control) +2747
Sitecore.Shell.Applications.Workbox.WorkboxForm.DisplayState(IWorkflow workflow, WorkflowState state, StateItems stateItems, Control control, Int32 offset, Int32 pageSize) +267
Sitecore.Shell.Applications.Workbox.WorkboxForm.DisplayStates(IWorkflow workflow, XmlControl placeholder) +1300
Sitecore.Shell.Applications.Workbox.WorkboxForm.DisplayWorkflow(IWorkflow workflow) +660
Sitecore.Shell.Applications.Workbox.WorkboxForm.Pane_Toggle(String id) +229
[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0
System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +132
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +146
Sitecore.Shell.Framework.Commands.MethodCommandProcessor.Invoke(PipelineArgs args) +461
Sitecore.Nexus.Pipelines.NexusPipelineApi.Resume(PipelineArgs args, Pipeline pipeline) +348
Sitecore.Pipelines.Pipeline.Start(PipelineArgs args, Boolean atomic) +167
Sitecore.Shell.Framework.Commands.MethodCommand.Execute(CommandContext context) +621
Sitecore.Web.UI.Sheer.ClientPage.Dispatch(String command) +231
Sitecore.Web.UI.Sheer.ClientPage.RaiseEvent() +124
Sitecore.Web.UI.Sheer.ClientPage.OnPreRender(EventArgs e) +795
System.Web.UI.Control.PreRenderRecursiveInternal() +200
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +7479