Details
-
Bug
-
Resolution: Done
-
Medium
-
3.3.28, 4.2.3
Description
In policy page view, custom workflows dont use label to display their names, but they use transition identifier instead
steps to reproduce:
Install clean version of dxp
Add a new workflow with transition:
ibexa: system: default: workflows: custom_workflow: name: Custom Workflow matchers: content_type: [article, folder] content_status: [draft] stages: draft: label: Draft color: '#f15a10' legal: label: Legal color: '#5a10f1' actions: notify_reviewer: ~ done: label: Done color: '#301203' last_stage: true initial_stage: draft transitions: to_legal_identifier: from: [draft] to: [legal] label: To legal color: '#8888ba' icon: '/bundles/ibexaplatformicons/img/all-icons.svg#notice' reviewers: required: true
then make sure to clear cache
check that the workflow works ont the content types
Then go to admin -> role -> add new policy (admin/role/3/policy/create)
Select Workflow / change stage and click on create button
Next screen will invite you to select Workflow Transition
See Custom workflow: To Legal Identifier
this comes from:
transitions: to_legal_identifer: from: [draft] to: [legal]
Expected result:
Label should be used