Skip to end of banner
Go to start of banner

runIf

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 77 Next »

See also: Actions

Description

Run actions only if a regex based condition is met. Other parameters and behavior are the same as the run action. By default the regex is used for a find of the value parameter. The options parameter can be set to one or more of the following to modify the default behavior. literal - to treat the regex string as a literal string, exact - to require an exact match of the value, negative - to reverse the condition so a match means do NOT run action. In addition, use '--regex ""' to match on an empty string. Use one or more field parameters to set replacement variables that can be used in run script actions. This makes it possible to parameterize the script so it can be applied to more general use cases. For example, '--field project=MYPROJECT'.

Required Parameters

regex, (file or input)

Optional Parameters

value, options, common, continue, simulate, field, encoding, clearFileBeforeAppend, findReplace, findReplaceRegex

Type

Run

Category

Run

Output Formats

Replacement Variables

Hosting
Since Version

Examples

Related How To's

  • No labels