Socket
Book a DemoInstallSign in
Socket

@5minds/node-red-dashboard-2-processcube-dynamic-list

Package Overview
Dependencies
Maintainers
0
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@5minds/node-red-dashboard-2-processcube-dynamic-list

A ui component for showing progress bars tracking a process

1.0.0
2025-1
latest
Source
npmnpm
Version published
Weekly downloads
63
-59.09%
Maintainers
0
Weekly downloads
 
Created
Source

Dynamic List

A UI-Node to display a list of process instances or usertasks.

Usage

Query ProcessInstance or UserTask data from the process engine. Use a function node to transform the queried data into the required format for the dynamic-list node. The dyanmic-list node expects an array of objects as its messages payload. The expected schema of these objects is:

  • title: string;
  • progress?:
    • type: 'boolean' | 'percentage';
    • value: number; (value between 0 and 100)
  • details?: string;
  • state?:
    • text: string;
    • backgroundColor: string;
  • assignee?: string;

Pipe the function nodes result into the dynamic-list node.

The nodes default output will be triggered each time a list entry was clicked. The payload property of the message that is ouput will be an object identifieng the clicked list entry. This object will exactly equal one of the objects that where used as an input for the dynamic-list node. Therefore, any amount of additional properties can be passed through this node, besides the ones used for displaying the list entry. I. e. a processInstanceId, flowNodeInstanceId or userTask. Each additional output, generated by actions, will behave in the same manner, but is only triggered when clicking onto the corresponding button.

Actions

This field is used for configuring additional actions for each list entry. Actions will be displayed as buttons at the end of each row.

Each action is defined by:

  • Id: The Id of the action. This will be the name of the nodes output.
  • Icon: An URL for an image, that should be displayed. This will be used as the src-Property of a HTML img-Element. Therefore DataURLs can be used to add images/svgs etc., that are not available online.

For each action configured, the node will gain a new output, that is named as the linked actions id.

Item hover effect

When not checked, all hover effects for the list entries will not be shown. Clicking the card will still trigger a message from the nodes first output.

Reference

https://processcube.io/docs/solutions/node-red

Keywords

processcube

FAQs

Package last updated on 11 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.