@servicenow/sdk - v4.4.1
Preparing search index...
@servicenow/sdk/automation
wfa
flowLogic
Variable flowLogic
Const
flowLogic
:
{
assignSubflowOutputs
:
<
T
extends
FlowVariableDefinition
,
S
extends
Record
<
string
,
FlowValueType
>
,
>
(
_definition
:
T
,
_variables
:
FlowSchemaType
<
S
>
,
_values
:
{
[
K
in
string
|
number
|
symbol
]
?:
|
string
|
Exclude
<
FlowSchemaType
<
S
>
[
K
]
,
null
|
undefined
>
}
,
)
=>
{
type
:
"assignsubflowoutputs"
}
;
else
:
(
_params
:
FlowElseParams
,
_body
:
ConditionalBodyFunction
)
=>
void
;
elseIf
:
(
_params
:
FlowLogicParams
,
_body
:
ConditionalBodyFunction
)
=>
void
;
endFlow
:
(
endFlow
:
EndFlowType
)
=>
{
type
:
"endflow"
}
;
exitLoop
:
<
T
extends
ExitLoopType
>
(
exitLoop
:
T
)
=>
{
type
:
"exitloop"
}
;
forEach
:
<
TArray
>
(
_items
:
TArray
|
undefined
,
_id
:
WithID
<
{
annotation
?:
string
}
>
,
_body
?:
(
item
:
ExtractArrayElement
<
TArray
>
)
=>
void
,
)
=>
{
type
:
"foreach"
}
;
if
:
(
_params
:
FlowLogicParams
,
_body
:
ConditionalBodyFunction
,
)
=>
{
type
:
"if"
}
;
setFlowVariables
:
<
T
extends
FlowVariableDefinition
,
S
extends
Record
<
string
,
FlowValueType
>
,
>
(
_definition
:
T
,
_variables
:
FlowSchemaType
<
S
>
,
_values
:
{
[
K
in
string
|
number
|
symbol
]
?:
|
string
|
Exclude
<
FlowSchemaType
<
S
>
[
K
]
,
null
|
undefined
>
}
,
)
=>
{
type
:
"setflowvariables"
}
;
skipIteration
:
<
T
extends
SkipIterationType
>
(
skipIteration
:
T
,
)
=>
{
type
:
"skipiteration"
}
;
waitForADuration
:
(
params
:
WaitForADurationParams
,
)
=>
WaitForADurationOutputs
;
}
= FlowLogic
Type Declaration
assignSubflowOutputs
:
<
T
extends
FlowVariableDefinition
,
S
extends
Record
<
string
,
FlowValueType
>
>
(
_definition
:
T
,
_variables
:
FlowSchemaType
<
S
>
,
_values
:
{
[
K
in
string
|
number
|
symbol
]
?:
|
string
|
Exclude
<
FlowSchemaType
<
S
>
[
K
]
,
null
|
undefined
>
}
,
)
=>
{
type
:
"assignsubflowoutputs"
}
else
:
(
_params
:
FlowElseParams
,
_body
:
ConditionalBodyFunction
)
=>
void
elseIf
:
(
_params
:
FlowLogicParams
,
_body
:
ConditionalBodyFunction
)
=>
void
endFlow
:
(
endFlow
:
EndFlowType
)
=>
{
type
:
"endflow"
}
exitLoop
:
<
T
extends
ExitLoopType
>
(
exitLoop
:
T
)
=>
{
type
:
"exitloop"
}
forEach
:
<
TArray
>
(
_items
:
TArray
|
undefined
,
_id
:
WithID
<
{
annotation
?:
string
}
>
,
_body
?:
(
item
:
ExtractArrayElement
<
TArray
>
)
=>
void
,
)
=>
{
type
:
"foreach"
}
if
:
(
_params
:
FlowLogicParams
,
_body
:
ConditionalBodyFunction
)
=>
{
type
:
"if"
}
setFlowVariables
:
<
T
extends
FlowVariableDefinition
,
S
extends
Record
<
string
,
FlowValueType
>
>
(
_definition
:
T
,
_variables
:
FlowSchemaType
<
S
>
,
_values
:
{
[
K
in
string
|
number
|
symbol
]
?:
|
string
|
Exclude
<
FlowSchemaType
<
S
>
[
K
]
,
null
|
undefined
>
}
,
)
=>
{
type
:
"setflowvariables"
}
skipIteration
:
<
T
extends
SkipIterationType
>
(
skipIteration
:
T
)
=>
{
type
:
"skipiteration"
}
waitForADuration
:
(
params
:
WaitForADurationParams
)
=>
WaitForADurationOutputs
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@servicenow/sdk - v4.4.1
Loading...