Workflows Widget

The Workflows widget displays available workflows and tasks. Access the widget from the Collaboration Center sidebar. This widget is only visible to workflow administrators.

Widget Definition

Name Workflows Widget
ID com.hybris.backoffice.widgets.workflows
Category Collaboration
Description The widget allows you to manage new, prepared, and running workflows.
Applied In Backoffice
Based On Not applicable
Author SAP
Inputs Details of input sockets:
  • refresh
    • Type: java.lang.Object
    • Multiplicity: Single
    • Description: When this socket is invoked, data inside the widget is reloaded.
Outputs Details of output sockets:
  • workflowSelected
    • Type: de.hybris.platform.workflow.model.WorkflowModel
    • Multiplicity: Single
    • Description: Whenever you select a workflow in this widget, it is sent out to the workflowSelected output socket.
  • workflowActionSelected
    • Type: de.hybris.platform.workflow.model.WorkflowActionModel
    • Multiplicity: Single
    • Description: Every workflow instance has a list of workflow actions. Whenever a workflow action is selected, it is sent out on the workflowActionSelected output socket.
  • createWorkflowContext
    • Type: java.util.Map
    • Multiplicity: Single
    • Description: Whenever you drop any items to a Create new workflow area, or you click the Create new workflow area, the Context map is sent out on the createWorkflowContex output socket.
Generated Events Not applicable

Configuration

No custom configuration applies to this widget.

Widget Preview

Component Name Description
Running tab Shows workflows that are started.
Prepared tab Shows workflows that are prepared, but not started yet.
Workflow name Opens the Workflow Details widget, when you click the name.
Three Dots icon Shows a popup with actions available for given process:
  • Abort: available in the running tab
  • Delete: available in the prepared tab
Multiple Parallel Tasks

You can choose between tasks: available in the running tab.

Start Workflow

You can start the prepared workflow.

Create a Workflow area

Triggers opening of the Create Workflow wizard. You can also drag and drop items to start the workflow creation.

Settings

Setting

Type

Description

workflowRenderer

java.lang.String

List item renderer

pageSize

java.lang.Integer

The list size dynamically increases when you scroll down. Each time new items are required, next page is added to the list.

isWorkflowPlannedEnabled

java.lang.Boolean

When set to true, the widget displays planned workflows. Refer to /de/hybris/platform/workflow/WorkflowStatus.class class.

isWorkflowRunningEnabled

java.lang.Boolean

When set to true, the widget displays running workflows. Refer to /de/hybris/platform/workflow/WorkflowStatus.class class.

isWorkflowFinishedEnabled

java.lang.Boolean

When set to true, the widget displays finished workflows. Refer to /de/hybris/platform/workflow/WorkflowStatus.class class.

isWorkflowTerminatedEnabled

java.lang.Boolean

When set to true, the widget displays terminated workflows. Refer to /de/hybris/platform/workflow/WorkflowStatus.class class.

isWorkflowDropAreaEnabled java.lang.Boolean Defines if the Drop Items to Create Workflow area is enabled or not. Default value: true.

Widget Slots

slotID Multiplicity Type Slots Composition
cockpitWidgetChildrenInvisible multi Not applicable A general purpose slot available for widgets. Any widget placed on this slot is not displayed in the application view but can be accessed through its socket API.