Skip to Content
trumpetdocs

Find a widget

Look up a widget on a Pod page.

Purpose

Resolve a page widget by type, title, and visibility before acting on it.

Run requires

  • existing Pod and enrolled-user permission to read it

Previous recommended steps

Next recommended steps

  • Branch — Only when the user wants skip, a fork, or another rule on the lookup result.

Conditions

  • Default: Pass widget_id directly to the action without a found condition.
  • Already handled: The lookup checks Pod/page access and applies type, title, and visibility filters; a successful match supplies widget_id.
  • Use a condition when: The user requests an alternative or intentional skip when no widget matches, or a specific result-based rule.
  • Failure behavior: No widget match completes with found=false and widget_id=null; a downstream action requiring widget_id fails on null.

Guidance

  • This lookup requires a Pod page ID and cannot discover root-attached widgets. A supplied root widget ID can be used directly by hide/unhide widget actions.
  • When config.title.type="mapped", map title; static mode uses config.title.title. Title matching is exact and ignores case.
  • The first match in page order is selected. Zero matches succeed with found=false and null widget details; ordinary consumers validate their required inputs.
  • On found=true, widget_id, widget_type, and is_hidden are non-null; title can still be null. Test found equals true, not found exists, because false is a present boolean.