npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@steedos-labs/plugin-workflow

v3.0.98

Published

<!-- * @Author: [email protected] * @Date: 2021-10-27 15:58:16 * @LastEditors: [email protected] * @LastEditTime: 2023-03-30 15:26:58 * @Description: --> ## 功能说明 - 审批王服务,包含 流程触发器

Readme

功能说明

  • 审批王服务,包含 流程触发器

环境变量配置

STEEDOS_WORKFLOW_ENABLE_CATEGORY_FILTER

  • 说明: 控制是否在"待处理"、"监控箱"视图以及左侧导航菜单中按流程分类进行筛选和显示
  • 默认行为: 启用分类筛选(当环境变量未设置或设置为除 'false' 以外的任何值时)
  • 可选值:
    • 不设置或设置为除 'false' 以外的任何值: 启用按分类筛选,根据应用(app)显示对应分类的流程
    • 'false' (字符串): 禁用按分类筛选,显示所有流程
  • 使用场景: 国产化优化,简化流程展示逻辑
  • 影响范围:
    • 待处理(Pending)和监控箱(Monitor Box)视图的数据筛选
    • 左侧导航菜单结构:禁用时仅显示box层级(待办箱、监控箱等),不显示分类和流程子菜单

示例配置:

# 禁用分类筛选
STEEDOS_WORKFLOW_ENABLE_CATEGORY_FILTER=false

# 启用分类筛选(以下任一方式)
# STEEDOS_WORKFLOW_ENABLE_CATEGORY_FILTER=true
# 或者不设置该环境变量(默认启用)

STEEDOS_WORKFLOW_SKIP_CONSECUTIVE_ONLY

  • 说明: 控制滑步(自动跳过已处理人)功能的匹配范围——是允许间隔步骤滑步,还是仅连续步骤才滑步
  • 默认行为: 允许间隔步骤滑步(不设置或设置为 'false'),即只要用户在流程中任意前序步骤处理过,后续步骤就会自动跳过该用户
  • 可选值:
    • 不设置 / 'false' / '0': 允许间隔步骤滑步(现有默认行为)
    • 'true' / '1': 仅连续步骤才滑步——只有紧邻上一步骤的处理人才会被自动跳过;如果紧邻上一步本身是滑步产生的 skipped 记录,也继续算作连续链路
  • 使用场景: 当流程中存在同一人出现在多个不相邻步骤,但只希望连续出现时才跳过的场景
  • 影响范围: handleSkipProcessed 滑步判断逻辑
  • 前置条件: 需要 WORKFLOW_SKIP_PROCESSED_ENABLED 未被设为 'false'(滑步功能整体开启)
  • 详细规则: 见 docs/skip-processed.md

示例配置:

# 仅连续步骤才滑步
STEEDOS_WORKFLOW_SKIP_CONSECUTIVE_ONLY=true

# 允许间隔步骤滑步(默认行为,以下任一方式)
# STEEDOS_WORKFLOW_SKIP_CONSECUTIVE_ONLY=false
# 或者不设置该环境变量

WORKFLOW_SKIP_PROCESSED_ENABLED

  • 说明: 控制滑步(自动跳过已处理人)功能的整体启停
  • 默认行为: 启用滑步(不设置时启用)
  • 可选值:
    • 不设置 / 除 'false''0' 以外的值: 启用滑步
    • 'false' / '0': 关闭滑步
  • 影响范围: handleSkipProcessed 滑步判断逻辑
  • 详细规则: 见 docs/skip-processed.md

示例配置:

# 关闭滑步
WORKFLOW_SKIP_PROCESSED_ENABLED=false

# 启用滑步(默认行为,以下任一方式)
# WORKFLOW_SKIP_PROCESSED_ENABLED=true
# 或者不设置该环境变量