Function: RequestedForVariable(config)
A CatalogItem variable for a requested for field (typically references a user).
Parameters
config
RequestedForVariableType
Configuration for the requested for variable including:
Properties:
-
question (required):
string -
active (optional):
boolean -
alwaysExpand (optional):
booleanAlways expand -
attributes (optional):
stringAttributes of the variable -
category (optional):
stringCategory -
conversationalLabel (optional):
string -
createRoles (optional):
(string | Role)[] -
defaultValue (optional):
string | ExplicitKey<string> | Record<'sys_user'> -
deliveryPlan (optional):
stringDelivery plan -
dependentQuestion (optional):
stringDependent question for dynamic default value -
description (optional):
stringDescription -
disableInitialSlotFill (optional):
boolean -
dotWalkPath (optional):
stringDot walk path for dynamic default value -
dynamicRefQual (optional):
string | Record<'sys_filter_option_dynamic'>Dynamic reference qualifier (use with useReferenceQualifier='dynamic'). Mutually exclusive with referenceQualCondition and referenceQual. -
enableAlsoRequestFor (optional):
booleanEnable also request for -
exampleText (optional):
string -
field (optional):
stringField to map (required when mapToField is true) -
global (optional):
booleanGlobal -
helpTag (optional):
string -
helpText (optional):
string -
hidden (optional):
booleanIndicates whether the field is hidden. Cannot be true when mandatory is true. -
instructions (optional):
string -
layout (optional):
'normal' | '2across' | '2down'Layout style for the container -
mandatory (optional):
booleanIndicates whether the field must contain a value. Cannot be true when hidden or readOnly is true. -
mapToField (optional):
booleanMap to field -
order (optional):
numberOrder in which the variable appears -
postInsertScript (optional):
stringPost insert script -
pricingDetails (optional):
PricingDetail[]Pricing details -
pricingImplications (optional):
booleanPricing implications -
readOnly (optional):
booleanIndicates whether the field is read-only. Cannot be true when mandatory is true. -
readRoles (optional):
(string | Role)[] -
readScript (optional):
stringRead script -
referenceQual (optional):
stringAdvanced reference qualifier (use with useReferenceQualifier='advanced'). Mutually exclusive with referenceQualCondition and dynamicRefQual. -
referenceQualCondition (optional):
stringFilter reference based on a filter condition (use without useReferenceQualifier). Mutually exclusive with dynamicRefQual and referenceQual. -
removeFromConversationalInterfaces (optional):
booleanRemove from Conversational Interfaces -
rolesToUseAlsoRequestFor (optional):
(string | Role)[]Roles to use also request for -
showHelp (optional):
boolean -
tooltip (optional):
string -
unique (optional):
booleanUnique value -
useDynamicDefault (optional):
booleanUse dynamic default -
useReferenceQualifier (optional):
'advanced' | 'simple' | 'dynamic'Type of reference qualifier. Determines which qualifier field to use. -
visibility (optional):
'Always' | 'Bundle' | 'Standalone'Visibility -
visibleBundle (optional):
boolean -
visibleGuide (optional):
booleanIndicates whether the variable is visible in guides -
visibleStandalone (optional):
booleanIndicates whether the variable is visible when standalone -
visibleSummary (optional):
booleanIndicates whether the variable is visible in summaries -
width (optional):
100 | 25 | 50 | 75Width of the variable -
writeRoles (optional):
(string | Role)[]