Add Workflow Attachment Action

The Add Workflow Attachment action allows for adding attachments to a workflow.

Action Definition

Name

Add Workflow Attachment

ID

com.hybris.backoffice.widgets.actions.addworkflowattachment

Description

Allows adding attachments to a workflow. It is intended to open Reference Search, which allows choosing items. The items you select after searching are added to a workflow as attachments.

Author

SAP

Action Class Name

com.hybris.backoffice.widgets.actions.workflow.AddWorkflowAttachmentAction

Custom Renderer Class Name

com.hybris.backoffice.widgets.actions.workflow.AddWorkflowAttachmentActionRenderer

Inputs

Details of input sockets:
  • referenceSearchResult
    • Type: List<Object>
    • Description: List of items to be added to a workflow.

Outputs

Details of output sockets:
  • referenceSearchCtx
    • Type: com.hybris.cockpitng.data.TypeAwareSelectionContext
    • Description: Defines search context for a reference search.
  • updatedWorkflow
    • Type: de.hybris.platform.workflow.model.WorkflowModel
    • Description: workflow with added attachments.

Action Preview

Configuration

To work properly, the action requires a workflow, which has to be updated. For example, to work in Collection Browser, which displays workflow's attachments, you need to define value of collection browser's virtual socket (value of socked is available in model under $_socketName) as the action's property:

<y:action action-id="com.hybris.backoffice.widgets.actions.addworkflowattachment" property="$_selectedWorkflow"/>

Dependency

Not applicable.