ByteChef LogoByteChef

Property Testing

Component fo testing.

Categories: Helpers

Type: propertyTesting/v1


Actions

Testing

Name: testingAction

Description

Properties

NameLabelTypeDescriptionRequired
arrayDefaultValuesArray With Default ValuesARRAY
Items []
Default value is [element1, element2, element3]false
arrayMaxItemsArray Max ItemsARRAY
Items [STRING]
Max items set to 3false
arrayMinItemsArray Min ItemsARRAY
Items [STRING]
Min items set to 3false
arrayNoDefaultValuesArray With No Default ValuesARRAY
Items []
null
arrayNoPredefinedPropertiesArray No Predefined PropertiesARRAY
Items []
null
arrayPredefinedPropertiesArray Predefined PropertiesARRAY
Items [{STRING(predefined1), STRING(predefined2)}]
null
boolBoolean Property and Display ConditionBOOLEAN
Options true, false
Display condition string will be shown when this value is set to True.false
dateDate PropertyDATEnull
dateTimeDate Time PropertyDATE_TIMEnull
displayConditionDisplay ConditionSTRINGWill be displayed only if the boolean property is true.false
dynamicPropertiesLookupDynamic Properties LookupSTRINGDynamic property will be shown when this value is set.false
dynamicPropertyDYNAMIC_PROPERTIES
Depends On dynamicPropertiesLookup
null
fileEntryFileEntry PropertyFILE_ENTRYnull
integerMaxValueInteger Max ValueINTEGERInteger maximum value set to 10false
integerMinValueInteger Min ValueINTEGERInteger minimum value set to 10false
numberMaxNumPrecisionNumber Max Number PrecisionNUMBERNumber max number precision set to 2false
numberMinNumPrecisionNumber Min Number PrecisionNUMBERNumber min number precision set to 2false
numberMaxValueNumber Max ValueNUMBERNumber max value set to 5false
numberMinValueNumber Min ValueNUMBERNumber min value set to 5false
numberPrecisionNumber PrecisionNUMBERNumber precision set to 3false
objectDefaultValuesObject With Default ValuesOBJECT
Properties {}
Default value is { key1 : value1, key2: value2 }false
objectNoDefaultValuesObject With No Default ValuesOBJECT
Properties {}
null
objectNoPredefinedPropertiesObject No Predefined PropertiesOBJECT
Properties {}
null
objectPredefinedPropertiesObject Predefined PropertiesOBJECT
Properties {[{STRING(key), STRING(value)}](array)}
null
setForOptionsLookupSet For Options LookupSTRINGThis has to be set so you can se the options below.false
optionsLookupDependsOnOption Lookup Depends OnSTRING
Depends On setForOptionsLookup
This options depend on "Set For Options Lookup" property.false
optionsMultiselectOptions MultiselectARRAY
Items [STRING]
null
optionsNoMultiselectOptions No MultiselectSTRING
Options 1, 2, 3, 4
null
stringMaxLengthString Max LengthSTRINGMaximum length set to 5.false
stringMinLengthString Min LengthSTRINGMinimum length set to 5.false
stringRegExString Regular ExpressionSTRINGRegular expression is set to: "[^A-Za-z]". Just letters from a text should be returned.false

Example JSON Structure

{
  "label" : "Testing",
  "name" : "testingAction",
  "parameters" : {
    "arrayDefaultValues" : [ ],
    "arrayMaxItems" : [ "" ],
    "arrayMinItems" : [ "" ],
    "arrayNoDefaultValues" : [ ],
    "arrayNoPredefinedProperties" : [ ],
    "arrayPredefinedProperties" : [ {
      "predefined1" : "",
      "predefined2" : ""
    } ],
    "bool" : false,
    "date" : "2021-01-01",
    "dateTime" : "2021-01-01T00:00:00",
    "displayCondition" : "",
    "dynamicPropertiesLookup" : "",
    "dynamicProperty" : { },
    "fileEntry" : {
      "extension" : "",
      "mimeType" : "",
      "name" : "",
      "url" : ""
    },
    "integerMaxValue" : 1,
    "integerMinValue" : 1,
    "numberMaxNumPrecision" : 0.0,
    "numberMinNumPrecision" : 0.0,
    "numberMaxValue" : 0.0,
    "numberMinValue" : 0.0,
    "numberPrecision" : 0.0,
    "objectDefaultValues" : { },
    "objectNoDefaultValues" : { },
    "objectNoPredefinedProperties" : { },
    "objectPredefinedProperties" : {
      "array" : [ {
        "key" : "",
        "value" : ""
      } ]
    },
    "setForOptionsLookup" : "",
    "optionsLookupDependsOn" : "",
    "optionsMultiselect" : [ "" ],
    "optionsNoMultiselect" : "",
    "stringMaxLength" : "",
    "stringMinLength" : "",
    "stringRegEx" : ""
  },
  "type" : "propertyTesting/v1/testingAction"
}

Output

Type: OBJECT


Additional Instructions

Example

This is an example of an example.

  1. Step 1
  2. Step 2
  3. An illustration of planets and stars featuring the word “astro”

How is this guide?

Last updated on

On this page