THIS FUNCTION ALLOWS YOU TO CHECK IF A GIVEN VARIABLE IS A SET¶
Checks whether a given variable is a set and returns a user-defined string value depending on the result. Use this worker in conditional workflow branches where downstream logic depends on whether a value has been assigned as a set type.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Value To Check | valuetocheck | set | — | The variable to inspect; leave unconnected to test for an unassigned/null set — the worker will evaluate it as not-a-set. | |
| Value If True | valueiftrue | string | — | String value returned when the inspected variable is confirmed to be a set; e.g. ‘1’, ‘true’, or any downstream-compatible token. | |
| Value If False | valueiffalse | string | — | String value returned when the inspected variable is not a set; e.g. ‘0’, ‘false’, or any downstream-compatible token. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| condition_ifset_output_1 | condition_ifset_output_1 | set | Returns the set passed to ‘Value to check’ if it is a set, propagating it downstream; otherwise the output reflects the false-branch result for further conditional routing. |
Disciplines¶
- platform.workflow
Auto-generated from transformation schema. Worker id: condition_ifset. Schema hash: d81bda3ac470. Hand-curated docs in workerexamples/ override this page when present.