New Transparent capture is in preview. Record every app's traffic with no proxy configuration, on Windows, macOS and Linux. Learn more

noOpAction Action

An action that does nothing on purpose, perfect for documenting intent, holding placeholders in templates, or attaching comments via the rule pipeline.

Empty by design, noOpAction is the placeholder that keeps rule files honest. Teams use it to pause a rule without losing context, to dry run a new filter before wiring in real behaviour, and to embed inline notes that survive the next refactor of the YAML file.

When to use this action

noOpAction exists for cases where the rule must match something but you do not want any side effect. It is most useful for templating, documentation, and temporary toggles.

Typical uses:

  • Mark a rule as deliberately disabled without deleting it from version control.
  • Provide a hand off point where another tool or teammate will later replace the action.
  • Carry a description field so the rule file reads like documentation.

Because it pairs naturally with filters, you can use it to confirm a filter is matching the traffic you expect before you wire in a real action.

Real world examples

Disable a rule temporarily without deleting it

Replace the action body with a no op so the surrounding filter and comments stay in source control while the rule is paused.

rules:
- filter:
    typeKind: HostFilter
    pattern: api.internal.example.com
  actions:
  - typeKind: NoOpAction
    description: Temporarily disabled while staging team validates the new endpoint

Sanity check a filter before adding a real action

Run the rule with a no op first, observe which exchanges match in the Fluxzy UI or logs, then swap in the actual action once you are confident.

rules:
- filter:
    typeKind: PathFilter
    pattern: ^/api/v2/
  actions:
  - typeKind: NoOpAction
    description: Verifying that the v2 path filter matches the expected traffic

Reference

noOpAction

Description

An action doing no operation.

Evaluation scope

Evaluation scope defines the timing where this filter will be applied.

requestBodyReceivedFromClient This scope occurs the moment fluxzy received fully the request body from the client. In a fullstreaming mode which is the default mode, this event occurs when the full body is already fully sent to the remote server.

YAML configuration name

noOpAction

Settings

This action has no specific characteristic

Example of usage

The following examples apply this action to any exchanges

An action doing no operation.

rules:
- filter:
    typeKind: AnyFilter
  actions:
  - typeKind: NoOpAction
    description: No operation

.NET reference

View definition of NoOpAction for .NET integration.

See also

This action has no related action

Frequently asked questions

Why would I include a rule that does nothing?

Mostly for documentation and review hygiene. A no op rule keeps intent visible in version control, gives reviewers something to comment on, and avoids the churn of deleting and re adding entries.

Does noOpAction affect performance?

The filter still evaluates, so the cost is the same as any matched rule. The action itself does nothing, which means no extra latency once the filter check is done.

Can I attach multiple no op actions to a single filter?

Yes, although there is usually no reason to. Most teams use a single noOpAction with a descriptive comment to document why the rule is in place.

Learn more about Fluxzy rules