@servicenow/sdk - v4.4.1
Preparing search index...
@servicenow/sdk/automation
actionStep
Variable actionStep
Const
actionStep
:
{
askForApproval
:
ActionStepWithMeta
<
FlowIOType
<
{
approval_conditions
:
Typed
<
string
|
number
,
{
column_type
:
"approval_rules"
;
label
:
"Approval Conditions"
;
mandatory
:
true
;
sysId
:
"745c0f900b22320085c083eb37673a79"
;
}
,
>
;
approval_field
:
Typed
<
string
,
{
label
:
"Approval Field"
;
sysId
:
"db521c5567323200c4098c7942415a67"
}
,
>
;
approval_reason
:
Typed
<
string
,
{
label
:
"Approval Reason"
;
sysId
:
"30a496c67f3012108e688c90ac8665a0"
}
,
>
;
due_date
:
Typed
<
string
,
{
label
:
"Due Date"
;
sysId
:
"d3dac4860b333200c438ee6537673a5a"
}
,
>
;
journal_field
:
Typed
<
string
,
{
label
:
"Journal Field"
;
sysId
:
"f7b3d09567323200c4098c7942415a65"
}
,
>
;
record
:
Typed
<
string
|
Record
,
{
dependent
:
"table"
;
label
:
"Record"
;
mandatory
:
true
;
sysId
:
"982c8b900b22320085c083eb37673a7c"
;
}
,
>
;
table
:
Typed
<
keyof
Tables
,
{
label
:
"Table"
;
sysId
:
"a44ccb900b22320085c083eb37673ab4"
}
,
>
;
}
,
>
,
FlowIOType
<
{
state
:
Typed
<
never
,
{
choices
:
{}
;
label
:
"Approval State"
;
sysId
:
"aa7568070b23320085c083eb37673a73"
;
}
,
>
;
}
,
>
,
false
,
false
,
>
;
collectActivityContext
:
ActionStepWithMeta
<
FlowIOType
<
{}
>
,
FlowIOType
<
{
activity_context
:
Typed
<
|
string
|
Record
<
"sys_pd_activity_context"
>
|
ExplicitKey
<
"sys_pd_activity_context"
>
|
TableBrand
<
"sys_pd_activity_context"
>
,
{
label
:
"Activity Context"
;
referenceTable
:
"sys_pd_activity_context"
;
sysId
:
"89e202b9a3013110fc7ad1f3e31e616d"
;
}
,
>
;
}
,
>
,
false
,
false
,
>
;
createAppFromPayload
:
ActionStepWithMeta
<
FlowIOType
<
{
scan_id
:
Typed
<
string
,
{
label
:
"scan_id"
;
sysId
:
"c74f30905b33101083f30f216581c7f0"
}
,
>
;
template_instance_id
:
Typed
<
string
,
{
label
:
"template_instance_id"
;
mandatory
:
true
;
sysId
:
"03c116415b03101083f30f216581c74d"
;
}
,
>
;
}
,
>
,
FlowIOType
<
{
sys_app_id
:
Typed
<
string
,
{
label
:
"sys_app_id"
;
mandatory
:
true
;
sysId
:
"f343f3925b12101083f30f216581c739"
;
}
,
>
;
}
,
>
,
false
,
false
,
>
;
createOrUpdateRecord
:
ActionStepWithMeta
<
FlowIOType
<
{
fields
:
Typed
<
string
|
number
,
{
column_type
:
"template_value"
;
label
:
"Fields"
;
sysId
:
"5eac547a53a3230034c6ddeeff7b12c7"
;
}
,
>
;
table
:
Typed
<
keyof
Tables
,
{
label
:
"Table"
;
sysId
:
"728c907a53a3230034c6ddeeff7b12e9"
}
,
>
;
}
,
>
,
FlowIOType
<
{
error_message
:
Typed
<
string
,
{
label
:
"Error Message"
;
sysId
:
"9dbbda1053bb230034c6ddeeff7b12c8"
}
,
>
;
record
:
Typed
<
string
|
Record
,
{
dependent
:
"table"
;
label
:
"Record"
;
sysId
:
"5d0ade9c537b230034c6ddeeff7b12ac"
;
}
,
>
;
status
:
Typed
<
never
,
{
choices
:
{}
;
label
:
"Status"
;
sysId
:
"b32b521053bb230034c6ddeeff7b12d2"
;
}
,
>
;
table_name
:
Typed
<
keyof
Tables
,
{
label
:
"Table"
;
sysId
:
"9c9ad6dc537b230034c6ddeeff7b127e"
}
,
>
;
}
,
>
,
false
,
false
,
>
;
createRecord
:
ActionStepWithMeta
<
FlowIOType
<
{
create_record_field_values
:
Typed
<
string
|
number
,
{
column_type
:
"template_value"
;
label
:
"Field Values"
;
sysId
:
"e78d203667003200553fafb49585ef63"
;
}
,
>
;
create_record_table_name
:
Typed
<
keyof
Tables
,
{
label
:
"Table"
;
sysId
:
"f0fb68f267003200553fafb49585efa0"
}
,
>
;
skip_insert
:
Typed
<
boolean
,
{
label
:
"Skip Insert"
;
sysId
:
"9e5f9d85536333003bf1d9109ec587c6"
}
,
>
;
}
,
>
,
FlowIOType
<
{
record
:
Typed
<
string
|
Record
,
{
dependent
:
"table_name"
;
label
:
"Record"
;
sysId
:
"966cd57267003200553fafb49585efa0"
;
}
,
>
;
table_name
:
Typed
<
keyof
Tables
,
{
label
:
"Table"
;
sysId
:
"795c557267003200553fafb49585efb0"
}
,
>
;
}
,
>
,
false
,
false
,
>
;
createRecordForRemoteTable
:
ActionStepWithMeta
<
FlowIOType
<
{
create_record_field_values
:
Typed
<
string
|
number
,
{
column_type
:
"template_value"
;
label
:
"Field Values"
;
sysId
:
"e5d96b2d53112110aba6ddeeff7b1236"
;
}
,
>
;
create_record_table_name
:
Typed
<
keyof
Tables
,
{
label
:
"create_record_table_name"
;
sysId
:
"c442d88a53912110aba6ddeeff7b1277"
;
}
,
>
;
query_id
:
Typed
<
string
|
number
,
{
column_type
:
"string_full_utf8"
;
label
:
"Query ID"
;
mandatory
:
true
;
sysId
:
"8d068211a3913110aba698e6d31e61b6"
;
}
,
>
;
}
,
>
,
FlowIOType
<
{
table_name
:
Typed
<
keyof
Tables
,
{
label
:
"Table"
;
sysId
:
"2b3a236d53112110aba6ddeeff7b129d"
}
,
>
;
}
,
>
,
false
,
false
,
>
;
createTask
:
ActionStepWithMeta
<
FlowIOType
<
{
create_record_field_values
:
Typed
<
string
|
number
,
{
column_type
:
"template_value"
;
label
:
"Field Values"
;
mandatory
:
false
;
sysId
:
"2a7872d60b233200cbd9e240e0ea601e"
;
}
,
>
;
create_record_table_name
:
Typed
<
keyof
Tables
,
{
label
:
"Table"
;
mandatory
:
false
;
sysId
:
"9b6832d60b233200cbd9e240e0ea601c"
;
}
,
>
;
skip_insert
:
Typed
<
boolean
,
{
label
:
"Skip Insert"
;
mandatory
:
false
;
sysId
:
"1aeb688553af33003bf1d9109ec58710"
;
}
,
>
;
wait
:
Typed
<
boolean
,
{
label
:
"Wait"
;
mandatory
:
false
;
sysId
:
"a498b2d60b233200cbd9e240e0ea6004"
;
}
,
>
;
}
,
>
,
FlowIOType
<
{
table
:
Typed
<
keyof
Tables
,
{
label
:
"Table"
;
sysId
:
"19efa6b653333200f5bf435723dc340e"
}
,
>
;
task
:
Typed
<
string
|
Record
,
{
dependent
:
"table"
;
label
:
"Task"
;
sysId
:
"9f0b036353233200f5bf435723dc3475"
;
}
,
>
;
}
,
>
,
false
,
false
,
>
;
createTemplatedObject
:
ActionStepWithMeta
<
FlowIOType
<
{
input_data
:
Typed
<
string
,
{
label
:
"Input Data"
;
mandatory
:
true
;
sysId
:
"1a40be410f0010108c9c5019c4767e95"
;
}
,
>
;
object_type
:
Typed
<
string
,
{
label
:
"Object Type"
;
mandatory
:
true
;
sysId
:
"6a203e410f0010108c9c5019c4767e98"
;
}
,
>
;
}
,
>
,
FlowIOType
<
{
output_data
:
Typed
<
string
,
{
label
:
"Output Data"
;
sysId
:
"2e50fe410f0010108c9c5019c4767ede"
}
,
>
;
}
,
>
,
false
,
false
,
>
;
deleteMultipleRecords
:
ActionStepWithMeta
<
FlowIOType
<
{
__snc_dont_fail_on_error
:
Typed
<
boolean
,
{
label
:
"Don't fail on error"
;
sysId
:
"76207652c72a40105312134c95c26083"
;
}
,
>
;
conditions
:
Typed
<
string
,
{
label
:
"Conditions"
;
mandatory
:
true
;
sysId
:
"a34cb0a6c71100105312134c95c260a3"
;
}
,
>
;
set_workflow
:
Typed
<
boolean
,
{
label
:
"Run Business Rules and Workflow"
;
sysId
:
"156c34a6c71100105312134c95c26068"
;
}
,
>
;
sort_column
:
Typed
<
string
,
{
label
:
"Order by"
;
sysId
:
"79fb8029c7ee00105312134c95c26042"
}
,
>
;
sort_type
:
Typed
<
"sort_asc"
|
"sort_desc"
,
{
choices
:
{
sort_asc
:
{
label
:
"a to z"
}
;
sort_desc
:
{
label
:
"z to a"
}
;
}
;
label
:
"Sort Type"
;
sysId
:
"a85c8429c7ee00105312134c95c26033"
;
}
,
>
;
table_name
:
Typed
<
keyof
Tables
,
{
label
:
"Table"
;
mandatory
:
true
;
sysId
:
"693c70a6c71100105312134c95c26011"
;
}
,
>
;
}
,
>
,
FlowIOType
<
{
count
:
Typed
<
number
,
{
label
:
"Count"
;
sysId
:
"e7db3c66c71100105312134c95c26031"
}
,
>
;
error_message
:
Typed
<
string
,
{
label
:
"Error Message"
;
sysId
:
"60fbbc66c71100105312134c95c26033"
}
,
>
;
status
:
Typed
<
never
,
{
choices
:
{}
;
label
:
"Status"
;
sysId
:
"ce41be52c72a40105312134c95c2606b"
;
}
,
>
;
}
,
>
,
false
,
false
,
>
;
deleteRecord
:
ActionStepWithMeta
<
FlowIOType
<
{
record
:
Typed
<
string
|
Record
,
{
dependent
:
"table_name"
;
label
:
"Record"
;
sysId
:
"995a2105c723220061f553c6f0976301"
;
}
,
>
;
table_name
:
Typed
<
keyof
Tables
,
{
label
:
"Table"
;
sysId
:
"ab19a9c1c723220061f553c6f0976383"
}
,
>
;
}
,
>
,
FlowIOType
<
{}
>
,
false
,
false
,
>
;
email
:
ActionStepWithMeta
<
FlowIOType
<
{
bcc
:
Typed
<
string
,
{
label
:
"BCC"
;
sysId
:
"e8f043277f0b32005f58108c3ffa91d1"
}
,
>
;
body
:
Typed
<
string
|
number
,
{
column_type
:
"html"
;
label
:
"Body"
;
sysId
:
"8ef44f277f0b32005f58108c3ffa91f7"
;
}
,
>
;
cc
:
Typed
<
string
,
{
label
:
"CC"
;
sysId
:
"33c003277f0b32005f58108c3ffa91e8"
}
,
>
;
record
:
Typed
<
string
|
Record
,
{
dependent
:
"table_name"
;
label
:
"Target Record"
;
sysId
:
"9971a338a70323008299b39f08790195"
;
}
,
>
;
subject
:
Typed
<
string
,
{
label
:
"Subject"
;
mandatory
:
true
;
sysId
:
"4d0183277f0b32005f58108c3ffa9197"
;
}
,
>
;
table_name
:
Typed
<
keyof
Tables
,
{
label
:
"Table"
;
sysId
:
"e1312338a70323008299b39f087901f5"
}
,
>
;
to
:
Typed
<
string
,
{
label
:
"To"
;
mandatory
:
true
;
sysId
:
"40cf3ae37f0b32005f58108c3ffa91f3"
;
}
,
>
;
watermark_email
:
Typed
<
boolean
,
{
label
:
"Include Watermark"
;
sysId
:
"0fba76757303230082999cfd7bf6a7f2"
;
}
,
>
;
}
,
>
,
FlowIOType
<
{
email
:
Typed
<
|
string
|
Record
<
"sys_email"
>
|
ExplicitKey
<
"sys_email"
>
|
TableBrand
<
"sys_email"
>
,
{
label
:
"Email"
;
referenceTable
:
"sys_email"
;
sysId
:
"f4a503677f0b32005f58108c3ffa91cf"
;
}
,
>
;
}
,
>
,
false
,
false
,
>
;
fireEvent
:
ActionStepWithMeta
<
FlowIOType
<
{
event_name
:
Typed
<
|
string
|
Record
<
"sysevent_register"
>
|
ExplicitKey
<
"sysevent_register"
>
|
TableBrand
<
"sysevent_register"
>
,
{
label
:
"Event"
;
mandatory
:
true
;
referenceTable
:
"sysevent_register"
;
sysId
:
"599cf11aff30311077a95dac793bf1d2"
;
}
,
>
;
parm1
:
Typed
<
string
,
{
label
:
"Parm1"
;
sysId
:
"077ef59aff30311077a95dac793bf1ba"
}
,
>
;
parm2
:
Typed
<
string
,
{
label
:
"Parm2"
;
sysId
:
"17be7d9aff30311077a95dac793bf18f"
}
,
>
;
record
:
Typed
<
string
|
Record
,
{
dependent
:
"table"
;
label
:
"Record"
;
mandatory
:
true
;
sysId
:
"a3ad395aff30311077a95dac793bf12e"
;
}
,
>
;
table
:
Typed
<
keyof
Tables
,
{
label
:
"Table"
;
sysId
:
"020ebd5aff30311077a95dac793bf1ea"
}
,
>
;
}
,
>
,
FlowIOType
<
{}
>
,
false
,
false
,
>
;
getLatestResponseTextFromEmail
:
ActionStepWithMeta
<
FlowIOType
<
{
email_record
:
Typed
<
|
string
|
Record
<
"sys_email"
>
|
ExplicitKey
<
"sys_email"
>
|
TableBrand
<
"sys_email"
>
,
{
label
:
"Email Record"
;
mandatory
:
true
;
referenceTable
:
"sys_email"
;
sysId
:
"44d757420f13101051218e8ebc767eee"
;
}
,
>
;
}
,
>
,
FlowIOType
<
{
latest_response_text
:
Typed
<
string
|
number
,
{
column_type
:
"string_full_utf8"
;
label
:
"Latest Response Text"
;
mandatory
:
true
;
sysId
:
"6f88df420f13101051218e8ebc767e67"
;
}
,
>
;
}
,
>
,
false
,
false
,
>
;
log
:
ActionStepWithMeta
<
FlowIOType
<
{
log_level
:
Typed
<
"info"
|
"error"
|
"warn"
,
{
choices
:
{
error
:
{
label
:
"error"
;
sequence
:
20
}
;
info
:
{
label
:
"info"
;
sequence
:
40
}
;
warn
:
{
label
:
"warn"
;
sequence
:
30
}
;
}
;
label
:
"Log Level"
;
sysId
:
"ab123adbc712220061f553c6f0976387"
;
}
,
>
;
log_message
:
Typed
<
string
,
{
label
:
"Log Message"
;
sysId
:
"4fc2fadbc712220061f553c6f0976388"
}
,
>
;
}
,
>
,
FlowIOType
<
{}
>
,
false
,
false
,
>
;
lookUpRecord
:
ActionStepWithMeta
<
FlowIOType
<
{
__snc_dont_fail_on_error
:
Typed
<
boolean
,
{
label
:
"Don't fail flow on error"
;
sysId
:
"b019356673110010d70877186bf6a780"
;
}
,
>
;
conditions
:
Typed
<
string
,
{
label
:
"Condition"
;
sysId
:
"0cfca6043b23220057a4a2e334efc43b"
}
,
>
;
lookup_table_name
:
Typed
<
keyof
Tables
,
{
label
:
"Table"
;
sysId
:
"f9cc66043b23220057a4a2e334efc42f"
}
,
>
;
multiple_records_found
:
Typed
<
"error"
|
"use_first_record"
,
{
choices
:
{
error
:
{
label
:
"Fail the step"
;
sequence
:
20
}
;
use_first_record
:
{
label
:
"Return only the first record"
;
sequence
:
10
;
}
;
}
;
label
:
"If multiple records are found"
;
sysId
:
"3b9387923b23220057a4a2e334efc4e4"
;
}
,
>
;
sort_column
:
Typed
<
string
,
{
label
:
"Order by"
;
sysId
:
"a6da115587003300663ca1bb36cb0bc0"
}
,
>
;
sort_type
:
Typed
<
"sort_asc"
|
"sort_desc"
,
{
choices
:
{
sort_asc
:
{
label
:
"a to z"
;
sequence
:
100
}
;
sort_desc
:
{
label
:
"z to a"
;
sequence
:
200
}
;
}
;
label
:
"Sort Type"
;
sysId
:
"c62b915587003300663ca1bb36cb0bd2"
;
}
,
>
;
}
,
>
,
FlowIOType
<
{
error_message
:
Typed
<
string
,
{
label
:
"Error Message"
;
sysId
:
"145a3da673110010d70877186bf6a7a5"
}
,
>
;
record
:
Typed
<
string
|
Record
,
{
dependent
:
"table_name"
;
label
:
"Record"
;
sysId
:
"d3e627913b23220057a4a2e334efc45e"
;
}
,
>
;
status
:
Typed
<
never
,
{
choices
:
{}
;
label
:
"Status"
;
sysId
:
"14bd89c673310010d70877186bf6a7be"
;
}
,
>
;
table_name
:
Typed
<
keyof
Tables
,
{
label
:
"Table"
;
sysId
:
"a64d6a043b23220057a4a2e334efc4e8"
}
,
>
;
}
,
>
,
false
,
false
,
>
;
lookUpRecords
:
ActionStepWithMeta
<
FlowIOType
<
{
conditions
:
Typed
<
string
,
{
label
:
"Conditions"
;
sysId
:
"95f8bb21c36a32002841b63b12d3ae0c"
}
,
>
;
limit
:
Typed
<
number
,
{
label
:
"Max Results"
;
sysId
:
"0677f8e053200300f5bf435723dc34e3"
}
,
>
;
sort_column
:
Typed
<
string
,
{
label
:
"Order by"
;
sysId
:
"2df79dd187003300663ca1bb36cb0b33"
}
,
>
;
sort_type
:
Typed
<
"sort_asc"
|
"sort_desc"
,
{
choices
:
{
sort_asc
:
{
label
:
"a to z"
;
sequence
:
100
}
;
sort_desc
:
{
label
:
"z to a"
;
sequence
:
200
}
;
}
;
label
:
"Sort Type"
;
sysId
:
"6a88151587003300663ca1bb36cb0b14"
;
}
,
>
;
table_name
:
Typed
<
keyof
Tables
,
{
label
:
"Table"
;
sysId
:
"4d19bb21c36a32002841b63b12d3aeef"
}
,
>
;
}
,
>
,
FlowIOType
<
{
count
:
Typed
<
number
,
{
label
:
"Count"
;
sysId
:
"f6700274c32b32002841b63b12d3ae37"
}
,
>
;
records
:
Typed
<
string
|
number
,
{
column_type
:
"records"
;
label
:
"Records"
;
sysId
:
"5db8f721c36a32002841b63b12d3aeb7"
;
}
,
>
;
table_name
:
Typed
<
keyof
Tables
,
{
label
:
"Table Name"
;
sysId
:
"c576f2a2c32232002841b63b12d3ae66"
}
,
>
;
}
,
>
,
false
,
false
,
>
;
notification
:
ActionStepWithMeta
<
FlowIOType
<
{
notification
:
Typed
<
|
string
|
Record
<
"sysevent_email_action"
>
|
ExplicitKey
<
"sysevent_email_action"
>
|
TableBrand
<
"sysevent_email_action"
>
,
{
label
:
"Notification"
;
mandatory
:
true
;
referenceTable
:
"sysevent_email_action"
;
sysId
:
"cc7fb8b17f0332004d145212bdfa91da"
;
}
,
>
;
record
:
Typed
<
string
|
Record
,
{
dependent
:
"table_name"
;
label
:
"Record"
;
sysId
:
"4d1cbc717f0332004d145212bdfa91b8"
;
}
,
>
;
table_name
:
Typed
<
keyof
Tables
,
{
label
:
"Table"
;
sysId
:
"b8a793697f2a32005f58108c3ffa910b"
}
,
>
;
}
,
>
,
FlowIOType
<
{}
>
,
false
,
false
,
>
;
rest
:
ActionStepWithMeta
<
FlowIOType
<
{
api_operation
:
Typed
<
|
string
|
Record
<
"sys_openapi_operation"
>
|
ExplicitKey
<
"sys_openapi_operation"
>
|
TableBrand
<
"sys_openapi_operation"
>
,
{
label
:
"API Operation"
;
referenceTable
:
"sys_openapi_operation"
;
sysId
:
"29c75782c7822300a150effeeb976338"
;
}
,
>
;
api_source
:
Typed
<
|
string
|
Record
<
"sys_openapi"
>
|
ExplicitKey
<
"sys_openapi"
>
|
TableBrand
<
"sys_openapi"
>
,
{
label
:
"API Source"
;
referenceTable
:
"sys_openapi"
;
sysId
:
"c346f4d7c7312300a150effeeb976366"
;
}
,
>
;
application
:
Typed
<
|
string
|
Record
<
"ecc_agent_application"
>
|
ExplicitKey
<
"ecc_agent_application"
>
|
TableBrand
<
"ecc_agent_application"
>
,
{
label
:
"MID Application"
;
referenceTable
:
"ecc_agent_application"
;
sysId
:
"f11ebf865f101300a09a2abd7f466652"
;
}
,
>
;
attachment_file_name
:
Typed
<
string
,
{
label
:
"Attachment File Name"
;
sysId
:
"9458387787201300b3b67d5e27cb0b3b"
;
}
,
>
;
attachment_file_record
:
Typed
<
string
|
Record
,
{
dependent
:
"table"
;
label
:
"Attachment File Record"
;
sysId
:
"6278787787201300b3b67d5e27cb0b94"
;
}
,
>
;
attachment_id
:
Typed
<
|
string
|
Record
<
"sys_attachment"
>
|
ExplicitKey
<
"sys_attachment"
>
|
TableBrand
<
"sys_attachment"
>
,
{
label
:
"Attachment"
;
referenceTable
:
"sys_attachment"
;
sysId
:
"8bf0dc9687141300dd637d5e27cb0b3c"
;
}
,
>
;
base_url
:
Typed
<
string
|
number
,
{
column_type
:
"url"
;
label
:
"Base URL"
;
sysId
:
"a67a8ef03b23320057a4a2e334efc472"
;
}
,
>
;
body
:
Typed
<
string
|
number
,
{
column_type
:
"multi_small"
;
label
:
"Request Body[Text]"
;
sysId
:
"6c6073f1c71003007b237f48cb97633b"
;
}
,
>
;
build_request
:
Typed
<
"from_openapi"
|
"manually"
|
"from_snrestmessage"
,
{
choices
:
{
from_openapi
:
{
label
:
"From OpenAPI specification"
;
sequence
:
20
;
}
;
from_snrestmessage
:
{
label
:
"From REST Message"
;
sequence
:
20
}
;
manually
:
{
label
:
"Manually"
;
sequence
:
10
}
;
}
;
label
:
"Build Request"
;
sysId
:
"bb61fcd3c7312300a150effeeb97638e"
;
}
,
>
;
capabilities
:
Typed
<
|
string
|
Record
<
"ecc_agent_capability"
>
|
ExplicitKey
<
"ecc_agent_capability"
>
|
TableBrand
<
"ecc_agent_capability"
>
,
{
label
:
"Capabilities"
;
referenceTable
:
"ecc_agent_capability"
;
sysId
:
"c30a451d2f201300a09a839fb18c95b4"
;
}
,
>
;
connection
:
Typed
<
"use_connection_alias"
|
"define_connection_inline"
,
{
choices
:
{
define_connection_inline
:
{
label
:
"Define Connection Inline"
;
sequence
:
10
;
}
;
use_connection_alias
:
{
label
:
"Use Connection Alias"
;
sequence
:
20
}
;
}
;
label
:
"Connection"
;
sysId
:
"91e207d03b50030057a4a2e334efc4a0"
;
}
,
>
;
connection_alias
:
Typed
<
|
string
|
Record
<
"sys_alias"
>
|
ExplicitKey
<
"sys_alias"
>
|
TableBrand
<
"sys_alias"
>
,
{
label
:
"Connection Alias"
;
referenceTable
:
"sys_alias"
;
sysId
:
"262882f03b23320057a4a2e334efc4f0"
;
}
,
>
;
connection_timeout
:
Typed
<
number
,
{
label
:
"Connection Timeout"
;
sysId
:
"7a59009bc7522010820469467ec260c0"
;
}
,
>
;
credential_alias
:
Typed
<
|
string
|
Record
<
"sys_alias"
>
|
ExplicitKey
<
"sys_alias"
>
|
TableBrand
<
"sys_alias"
>
,
{
label
:
"Credential Alias"
;
referenceTable
:
"sys_alias"
;
sysId
:
"445c2a72b3701300176b051a16a8dcc2"
;
}
,
>
;
enable_retry_policy
:
Typed
<
boolean
,
{
label
:
"Enable Retry Policy"
;
sysId
:
"321e31fd87803300a8cc7d5e27cb0b7a"
;
}
,
>
;
form_URL_encoded_map
:
Typed
<
string
,
{
label
:
"Form URL Encoded"
;
sysId
:
"3684ec4787d01300dd637d5e27cb0bcb"
;
}
,
>
;
headers
:
Typed
<
string
|
number
,
{
column_type
:
"name_values"
;
label
:
"Headers"
;
sysId
:
"371837f1c71003007b237f48cb9763b0"
;
}
,
>
;
honor_duplicate_headers
:
Typed
<
boolean
,
{
label
:
"Honor Duplicate Headers"
;
sysId
:
"15288f755bd24110ab933520b881c713"
;
}
,
>
;
honor_duplicate_query_params
:
Typed
<
boolean
,
{
label
:
"Honor Duplicate Query Params"
;
sysId
:
"58715a1c53f22010d3a8ddeeff7b1248"
;
}
,
>
;
http_method
:
Typed
<
"delete"
|
"get"
|
"post"
|
"put"
|
"patch"
,
{
choices
:
{
delete
:
{
label
:
"DELETE"
;
sequence
:
50
}
;
get
:
{
label
:
"GET"
;
sequence
:
10
}
;
patch
:
{
label
:
"PATCH"
;
sequence
:
40
}
;
post
:
{
label
:
"POST"
;
sequence
:
20
}
;
put
:
{
label
:
"PUT"
;
sequence
:
30
}
;
}
;
label
:
"HTTP Method"
;
sysId
:
"e85b7ebf47222200b4fad7527c9a71e3"
;
}
,
>
;
is_streaming
:
Typed
<
boolean
,
{
label
:
"Is Streaming"
;
sysId
:
"f1255aa377322300efb691572b106135"
}
,
>
;
is_temporary_attachment
:
Typed
<
boolean
,
{
label
:
"Is Temporary Attachment"
;
sysId
:
"89fa6545cb200010a2fcb895634c9c3c"
;
}
,
>
;
mid_cluster
:
Typed
<
string
|
Record
,
{
dependent
:
""
;
label
:
"MID Cluster"
;
sysId
:
"cdfcf11053f10110d3a8ddeeff7b12e2"
;
}
,
>
;
mid_selection
:
Typed
<
"auto_select"
|
"specific_mid_cluster"
|
"specific_mid_server"
,
{
choices
:
{
auto_select
:
{
label
:
"Auto-Select MID Server"
;
sequence
:
1
}
;
specific_mid_cluster
:
{
label
:
"Specific MID Cluster"
;
sequence
:
3
}
;
specific_mid_server
:
{
label
:
"Specific MID Server"
;
sequence
:
2
}
;
}
;
label
:
"MID Selection"
;
sysId
:
"a7d3fa4b73131010791f94596bf6a79a"
;
}
,
>
;
mid_server
:
Typed
<
string
|
Record
,
{
dependent
:
""
;
label
:
"MID Server"
;
sysId
:
"61d6b2cb73131010791f94596bf6a721"
;
}
,
>
;
multipart_sources_string
:
Typed
<
string
,
{
label
:
"Multipart Body"
;
sysId
:
"b564608787d01300dd637d5e27cb0b7d"
}
,
>
;
override_base_url
:
Typed
<
boolean
,
{
label
:
"Override Base URL"
;
sysId
:
"8e4f451f5b010110ab933520b881c72c"
;
}
,
>
;
override_default_policy_for_alias
:
Typed
<
boolean
,
{
label
:
"Override Default Policy for Alias"
;
sysId
:
"324e357187c03300a8cc7d5e27cb0b43"
;
}
,
>
;
query_params
:
Typed
<
string
|
number
,
{
column_type
:
"name_values"
;
label
:
"Query Parameters"
;
sysId
:
"4328e2fb47222200b4fad7527c9a7164"
;
}
,
>
;
request_type
:
Typed
<
"text"
|
"binary"
|
"multi-part"
|
"form-url-encoded"
,
{
choices
:
{
binary
:
{
label
:
"Binary"
;
sequence
:
2
}
;
"form-url-encoded"
:
{
label
:
"Form URL-Encoded"
;
sequence
:
4
}
;
"multi-part"
:
{
label
:
"Multipart"
;
sequence
:
3
}
;
text
:
{
label
:
"Text"
;
sequence
:
1
}
;
}
;
label
:
"Request Type"
;
sysId
:
"bc79234a87d01300dd637d5e27cb0b24"
;
}
,
>
;
resource_path
:
Typed
<
string
,
{
label
:
"Resource Path"
;
sysId
:
"3d090af03b23320057a4a2e334efc455"
}
,
>
;
rest_message
:
Typed
<
|
string
|
Record
<
"sys_rest_message"
>
|
ExplicitKey
<
"sys_rest_message"
>
|
TableBrand
<
"sys_rest_message"
>
,
{
label
:
"REST Message"
;
referenceTable
:
"sys_rest_message"
;
sysId
:
"b79bea415b101110ab933520b881c737"
;
}
,
>
;
rest_message_function
:
Typed
<
|
string
|
Record
<
"sys_rest_message"
>
|
ExplicitKey
<
"sys_rest_message"
>
|
TableBrand
<
"sys_rest_message"
>
,
{
label
:
"REST Message Function"
;
referenceTable
:
"sys_rest_message"
;
sysId
:
"35bb6e415b101110ab933520b881c752"
;
}
,
>
;
rest_metadata
:
Typed
<
string
|
number
,
{
column_type
:
"json"
;
label
:
"REST Metadata"
;
sysId
:
"3c4d7367c7d32300a150effeeb9763a4"
;
}
,
>
;
retry_policy
:
Typed
<
|
string
|
Record
<
"sys_retry_policy"
>
|
ExplicitKey
<
"sys_retry_policy"
>
|
TableBrand
<
"sys_retry_policy"
>
,
{
label
:
"Retry Policy"
;
referenceTable
:
"sys_retry_policy"
;
sysId
:
"37be397587c03300a8cc7d5e27cb0ba2"
;
}
,
>
;
save_response_as_attachment
:
Typed
<
boolean
,
{
label
:
"Save As Attachment"
;
sysId
:
"f9df589687301300735f7d5e27cb0b2d"
;
}
,
>
;
table
:
Typed
<
keyof
Tables
,
{
label
:
"Table"
;
sysId
:
"a9adb007b3c21300176b051a16a8dc9a"
}
,
>
;
use_mid
:
Typed
<
boolean
,
{
label
:
"Use MID"
;
sysId
:
"e532afc12f101300a09a839fb18c95b9"
}
,
>
;
}
,
>
,
FlowIOType
<
{
error_code
:
Typed
<
string
,
{
label
:
"Error Code"
;
sysId
:
"d1744b7347622200b4fad7527c9a7105"
}
,
>
;
error_message
:
Typed
<
string
,
{
label
:
"Error Message"
;
sysId
:
"26a48b7347622200b4fad7527c9a71c0"
}
,
>
;
response_body
:
Typed
<
string
,
{
label
:
"Response Body"
;
sysId
:
"a804c77347622200b4fad7527c9a7119"
}
,
>
;
response_headers
:
Typed
<
string
,
{
label
:
"Response Headers"
;
sysId
:
"09d4cb7347622200b4fad7527c9a71e3"
;
}
,
>
;
response_stream
:
Typed
<
string
,
{
label
:
"Response Stream"
;
sysId
:
"4085daa377322300efb691572b1061cf"
}
,
>
;
status_code
:
Typed
<
string
,
{
label
:
"Status Code"
;
sysId
:
"a053077347622200b4fad7527c9a716e"
}
,
>
;
}
,
>
,
false
,
false
,
>
;
script
:
ActionStepWithMeta
<
FlowIOType
<
{
application
:
Typed
<
|
string
|
Record
<
"ecc_agent_application"
>
|
ExplicitKey
<
"ecc_agent_application"
>
|
TableBrand
<
"ecc_agent_application"
>
,
{
label
:
"MID Application"
;
referenceTable
:
"ecc_agent_application"
;
sysId
:
"f5e56d79b3101300176b051a16a8dce4"
;
}
,
>
;
capabilities
:
Typed
<
|
string
|
Record
<
"ecc_agent_capability"
>
|
ExplicitKey
<
"ecc_agent_capability"
>
|
TableBrand
<
"ecc_agent_capability"
>
,
{
label
:
"Capabilities"
;
referenceTable
:
"ecc_agent_capability"
;
sysId
:
"7d36ed79b3101300176b051a16a8dceb"
;
}
,
>
;
connection_alias
:
Typed
<
|
string
|
Record
<
"sys_alias"
>
|
ExplicitKey
<
"sys_alias"
>
|
TableBrand
<
"sys_alias"
>
,
{
label
:
"Connection Alias"
;
referenceTable
:
"sys_alias"
;
sysId
:
"2b2ba571b3101300176b051a16a8dc8f"
;
}
,
>
;
host
:
Typed
<
string
,
{
depends_on
:
readonly
[
"connection_alias"
]
;
label
:
"Host"
;
sysId
:
"28e4e579b3101300176b051a16a8dc0f"
;
}
,
>
;
mid_cluster
:
Typed
<
string
|
Record
,
{
dependent
:
""
;
label
:
"MID Cluster"
;
sysId
:
"0d2db9e653310110d3a8ddeeff7b1208"
;
}
,
>
;
mid_selection
:
Typed
<
"auto_select"
|
"specific_mid_cluster"
|
"specific_mid_server"
,
{
choices
:
{
auto_select
:
{
label
:
"Auto-Select MID Server"
;
sequence
:
1
}
;
specific_mid_cluster
:
{
label
:
"Specific MID Cluster"
;
sequence
:
3
}
;
specific_mid_server
:
{
label
:
"Specific MID Server"
;
sequence
:
2
}
;
}
;
label
:
"MID Selection"
;
sysId
:
"cbd1070373531010791f94596bf6a776"
;
}
,
>
;
mid_selection_type
:
Typed
<
"any"
|
"use_connection_alias"
|
"define_connection_inline"
,
{
choices
:
{
any
:
{
label
:
"Any MID"
;
sequence
:
1
}
;
define_connection_inline
:
{
label
:
"Use Inline Selection"
;
sequence
:
3
;
}
;
use_connection_alias
:
{
label
:
"Use Connection Alias"
;
sequence
:
2
}
;
}
;
label
:
"Select MID Server"
;
sysId
:
"2c226939b3101300176b051a16a8dc83"
;
}
,
>
;
mid_server
:
Typed
<
string
|
Record
,
{
dependent
:
""
;
label
:
"MID Server"
;
sysId
:
"f0d58b8373531010791f94596bf6a7be"
;
}
,
>
;
required_run_time
:
Typed
<
"instance"
|
"vanilla"
|
"mid"
,
{
choices
:
{
instance
:
{
label
:
"Instance"
;
sequence
:
number
}
;
mid
:
{
label
:
"MID"
;
sequence
:
number
}
;
vanilla
:
{
label
:
"Vanilla (Core JavaScript)"
;
sequence
:
number
}
;
}
;
label
:
"Required Runtime"
;
mandatory
:
true
;
sysId
:
"74315b04b3201300176b051a16a8dc2b"
;
}
,
>
;
script
:
Typed
<
string
|
ScriptModule
<
Function
>
,
{
label
:
"Script"
;
sysId
:
"71aa7f6647032200b4fad7527c9a719b"
}
,
>
;
}
,
>
,
FlowIOType
<
{}
>
,
true
,
true
,
>
;
sms
:
ActionStepWithMeta
<
FlowIOType
<
{
message
:
Typed
<
string
,
{
label
:
"Message"
;
mandatory
:
true
;
sysId
:
"c951b106737c001086592f163cf6a75a"
;
}
,
>
;
recipients
:
Typed
<
string
,
{
label
:
"Recipients"
;
mandatory
:
true
;
sysId
:
"dd317dc2737c001086592f163cf6a7fe"
;
}
,
>
;
}
,
>
,
FlowIOType
<
{
email
:
Typed
<
|
string
|
Record
<
"sys_email"
>
|
ExplicitKey
<
"sys_email"
>
|
TableBrand
<
"sys_email"
>
,
{
label
:
"Email"
;
referenceTable
:
"sys_email"
;
sysId
:
"29817506737c001086592f163cf6a72d"
;
}
,
>
;
}
,
>
,
false
,
false
,
>
;
updateMultipleRecords
:
ActionStepWithMeta
<
FlowIOType
<
{
__snc_dont_fail_on_error
:
Typed
<
boolean
,
{
label
:
"Don't fail on error"
;
sysId
:
"e2214bd6c72a40105312134c95c2600c"
;
}
,
>
;
conditions
:
Typed
<
string
,
{
label
:
"Conditions"
;
mandatory
:
true
;
sysId
:
"66401866c7dd00105312134c95c2607e"
;
}
,
>
;
field_values
:
Typed
<
string
|
number
,
{
column_type
:
"template_value"
;
label
:
"Field Values"
;
mandatory
:
true
;
sysId
:
"a5505866c7dd00105312134c95c26065"
;
}
,
>
;
set_autosysfields
:
Typed
<
boolean
,
{
label
:
"Update System Fields"
;
sysId
:
"0f7194a6c7dd00105312134c95c26028"
;
}
,
>
;
set_workflow
:
Typed
<
boolean
,
{
label
:
"Run Business Rules and Workflow"
;
sysId
:
"8a6154a6c7dd00105312134c95c26019"
;
}
,
>
;
sort_column
:
Typed
<
string
,
{
label
:
"Order by"
;
sysId
:
"168d8069c7ee00105312134c95c260a7"
}
,
>
;
sort_type
:
Typed
<
"sort_asc"
|
"sort_desc"
,
{
choices
:
{
sort_asc
:
{
label
:
"a to z"
}
;
sort_desc
:
{
label
:
"z to a"
}
;
}
;
label
:
"Sort Type"
;
sysId
:
"71ad0469c7ee00105312134c95c26027"
;
}
,
>
;
table_name
:
Typed
<
keyof
Tables
,
{
label
:
"Table"
;
mandatory
:
true
;
sysId
:
"c530d466c7dd00105312134c95c26066"
;
}
,
>
;
}
,
>
,
FlowIOType
<
{
count
:
Typed
<
number
,
{
label
:
"Count"
;
sysId
:
"a4101466c7dd00105312134c95c260a8"
}
,
>
;
error_message
:
Typed
<
string
,
{
label
:
"Error Message"
;
sysId
:
"10209466c7dd00105312134c95c26031"
}
,
>
;
status
:
Typed
<
never
,
{
choices
:
{}
;
label
:
"Status"
;
sysId
:
"4f814fd6c72a40105312134c95c26001"
;
}
,
>
;
}
,
>
,
false
,
false
,
>
;
updateRecord
:
ActionStepWithMeta
<
FlowIOType
<
{
record
:
Typed
<
string
|
Record
,
{
dependent
:
"table_name"
;
label
:
"Record"
;
mandatory
:
true
;
sysId
:
"aab0ddb267003200553fafb49585ef30"
;
}
,
>
;
table_name
:
Typed
<
keyof
Tables
,
{
label
:
"Table"
;
mandatory
:
true
;
sysId
:
"3930d57267003200553fafb49585efc5"
;
}
,
>
;
update_record_field_values
:
Typed
<
string
|
number
,
{
column_type
:
"template_value"
;
label
:
"Field Values"
;
sysId
:
"fcbf6c3667003200553fafb49585ef2e"
;
}
,
>
;
}
,
>
,
FlowIOType
<
{
record
:
Typed
<
string
|
Record
,
{
dependent
:
"table_name"
;
label
:
"Record"
;
sysId
:
"ffd3197267003200553fafb49585ef5a"
;
}
,
>
;
table_name
:
Typed
<
keyof
Tables
,
{
label
:
"Table"
;
sysId
:
"2fb3d57267003200553fafb49585ef43"
}
,
>
;
}
,
>
,
false
,
false
,
>
;
waitForCondition
:
ActionStepWithMeta
<
FlowIOType
<
{
conditions
:
Typed
<
string
,
{
label
:
"Conditions"
;
mandatory
:
true
;
sysId
:
"7de2fcca0b18030085c083eb37673aed"
;
}
,
>
;
record
:
Typed
<
string
|
Record
,
{
dependent
:
"table_name"
;
label
:
"Record"
;
mandatory
:
true
;
sysId
:
"c5d2fcca0b18030085c083eb37673a1c"
;
}
,
>
;
table_name
:
Typed
<
keyof
Tables
,
{
label
:
"Table"
;
sysId
:
"72b2bcca0b18030085c083eb37673a0b"
}
,
>
;
timeout_duration
:
Typed
<
string
|
number
,
{
column_type
:
"glide_duration"
;
label
:
"Duration"
;
sysId
:
"1fac6063876100102fa5a1bb36cb0bac"
;
}
,
>
;
timeout_flag
:
Typed
<
boolean
,
{
label
:
"Enable timeout"
;
sysId
:
"bc93428187120010663ca1bb36cb0b83"
}
,
>
;
timeout_schedule
:
Typed
<
|
string
|
Record
<
"cmn_schedule"
>
|
ExplicitKey
<
"cmn_schedule"
>
|
TableBrand
<
"cmn_schedule"
>
,
{
label
:
"Schedule"
;
referenceTable
:
"cmn_schedule"
;
sysId
:
"ae1d6463876100102fa5a1bb36cb0b56"
;
}
,
>
;
}
,
>
,
FlowIOType
<
{
state
:
Typed
<
never
,
{
choices
:
{}
;
label
:
"State"
;
sysId
:
"1fbdac63876100102fa5a1bb36cb0ba2"
;
}
,
>
;
}
,
>
,
false
,
false
,
>
;
waitForEmailReply
:
ActionStepWithMeta
<
FlowIOType
<
{
enable_timeout
:
Typed
<
boolean
,
{
label
:
"Enable Timeout"
;
sysId
:
"b3285f757f0f12108e688c90ac866575"
}
,
>
;
record
:
Typed
<
|
string
|
Record
<
"sys_email"
>
|
ExplicitKey
<
"sys_email"
>
|
TableBrand
<
"sys_email"
>
,
{
label
:
"Email Record"
;
mandatory
:
true
;
referenceTable
:
"sys_email"
;
sysId
:
"391597b17f0f12108e688c90ac866571"
;
}
,
>
;
timeout_duration
:
Typed
<
string
|
number
,
{
column_type
:
"glide_duration"
;
label
:
"Duration"
;
sysId
:
"3e78d3b57f0f12108e688c90ac86653b"
;
}
,
>
;
timeout_schedule
:
Typed
<
|
string
|
Record
<
"cmn_schedule"
>
|
ExplicitKey
<
"cmn_schedule"
>
|
TableBrand
<
"cmn_schedule"
>
,
{
label
:
"Schedule"
;
referenceTable
:
"cmn_schedule"
;
sysId
:
"b7a8d7b57f0f12108e688c90ac86659f"
;
}
,
>
;
}
,
>
,
FlowIOType
<
{
email_reply
:
Typed
<
|
string
|
Record
<
"sys_email"
>
|
ExplicitKey
<
"sys_email"
>
|
TableBrand
<
"sys_email"
>
,
{
label
:
"Email Reply"
;
referenceTable
:
"sys_email"
;
sysId
:
"10991bf57f0f12108e688c90ac866577"
;
}
,
>
;
state
:
Typed
<
never
,
{
choices
:
{}
;
label
:
"State"
;
sysId
:
"752ad3397f0f12108e688c90ac866579"
;
}
,
>
;
}
,
>
,
false
,
false
,
>
;
waitForMessage
:
ActionStepWithMeta
<
FlowIOType
<
{
enable_timeout
:
Typed
<
boolean
,
{
label
:
"Enable Timeout"
;
sysId
:
"d728c634931012105cd18166448918b0"
}
,
>
;
message
:
Typed
<
string
|
number
,
{
column_type
:
"string_full_utf8"
;
label
:
"Message"
;
mandatory
:
true
;
sysId
:
"83e74ef0931012105cd181664489182b"
;
}
,
>
;
timeout_duration
:
Typed
<
string
|
number
,
{
column_type
:
"glide_duration"
;
label
:
"Timeout Duration"
;
sysId
:
"15a942b4931012105cd18166448918bc"
;
}
,
>
;
}
,
>
,
FlowIOType
<
{
payload
:
Typed
<
string
|
number
,
{
column_type
:
"string_full_utf8"
;
label
:
"Payload"
;
sysId
:
"640b4ef4931012105cd181664489180b"
;
}
,
>
;
}
,
>
,
false
,
false
,
>
;
}
= ...
Export all steps as a grouped object for convenient importing under action_step object
Type Declaration
askForApproval
:
ActionStepWithMeta
<
FlowIOType
<
{
approval_conditions
:
Typed
<
string
|
number
,
{
column_type
:
"approval_rules"
;
label
:
"Approval Conditions"
;
mandatory
:
true
;
sysId
:
"745c0f900b22320085c083eb37673a79"
;
}
,
>
;
approval_field
:
Typed
<
string
,
{
label
:
"Approval Field"
;
sysId
:
"db521c5567323200c4098c7942415a67"
}
,
>
;
approval_reason
:
Typed
<
string
,
{
label
:
"Approval Reason"
;
sysId
:
"30a496c67f3012108e688c90ac8665a0"
}
,
>
;
due_date
:
Typed
<
string
,
{
label
:
"Due Date"
;
sysId
:
"d3dac4860b333200c438ee6537673a5a"
}
,
>
;
journal_field
:
Typed
<
string
,
{
label
:
"Journal Field"
;
sysId
:
"f7b3d09567323200c4098c7942415a65"
}
,
>
;
record
:
Typed
<
string
|
Record
,
{
dependent
:
"table"
;
label
:
"Record"
;
mandatory
:
true
;
sysId
:
"982c8b900b22320085c083eb37673a7c"
;
}
,
>
;
table
:
Typed
<
keyof
Tables
,
{
label
:
"Table"
;
sysId
:
"a44ccb900b22320085c083eb37673ab4"
}
,
>
;
}
,
>
,
FlowIOType
<
{
state
:
Typed
<
never
,
{
choices
:
{}
;
label
:
"Approval State"
;
sysId
:
"aa7568070b23320085c083eb37673a73"
;
}
,
>
;
}
,
>
,
false
,
false
,
>
collectActivityContext
:
ActionStepWithMeta
<
FlowIOType
<
{}
>
,
FlowIOType
<
{
activity_context
:
Typed
<
|
string
|
Record
<
"sys_pd_activity_context"
>
|
ExplicitKey
<
"sys_pd_activity_context"
>
|
TableBrand
<
"sys_pd_activity_context"
>
,
{
label
:
"Activity Context"
;
referenceTable
:
"sys_pd_activity_context"
;
sysId
:
"89e202b9a3013110fc7ad1f3e31e616d"
;
}
,
>
;
}
,
>
,
false
,
false
,
>
createAppFromPayload
:
ActionStepWithMeta
<
FlowIOType
<
{
scan_id
:
Typed
<
string
,
{
label
:
"scan_id"
;
sysId
:
"c74f30905b33101083f30f216581c7f0"
}
,
>
;
template_instance_id
:
Typed
<
string
,
{
label
:
"template_instance_id"
;
mandatory
:
true
;
sysId
:
"03c116415b03101083f30f216581c74d"
;
}
,
>
;
}
,
>
,
FlowIOType
<
{
sys_app_id
:
Typed
<
string
,
{
label
:
"sys_app_id"
;
mandatory
:
true
;
sysId
:
"f343f3925b12101083f30f216581c739"
;
}
,
>
;
}
,
>
,
false
,
false
,
>
createOrUpdateRecord
:
ActionStepWithMeta
<
FlowIOType
<
{
fields
:
Typed
<
string
|
number
,
{
column_type
:
"template_value"
;
label
:
"Fields"
;
sysId
:
"5eac547a53a3230034c6ddeeff7b12c7"
;
}
,
>
;
table
:
Typed
<
keyof
Tables
,
{
label
:
"Table"
;
sysId
:
"728c907a53a3230034c6ddeeff7b12e9"
}
,
>
;
}
,
>
,
FlowIOType
<
{
error_message
:
Typed
<
string
,
{
label
:
"Error Message"
;
sysId
:
"9dbbda1053bb230034c6ddeeff7b12c8"
}
,
>
;
record
:
Typed
<
string
|
Record
,
{
dependent
:
"table"
;
label
:
"Record"
;
sysId
:
"5d0ade9c537b230034c6ddeeff7b12ac"
;
}
,
>
;
status
:
Typed
<
never
,
{
choices
:
{}
;
label
:
"Status"
;
sysId
:
"b32b521053bb230034c6ddeeff7b12d2"
;
}
,
>
;
table_name
:
Typed
<
keyof
Tables
,
{
label
:
"Table"
;
sysId
:
"9c9ad6dc537b230034c6ddeeff7b127e"
}
,
>
;
}
,
>
,
false
,
false
,
>
createRecord
:
ActionStepWithMeta
<
FlowIOType
<
{
create_record_field_values
:
Typed
<
string
|
number
,
{
column_type
:
"template_value"
;
label
:
"Field Values"
;
sysId
:
"e78d203667003200553fafb49585ef63"
;
}
,
>
;
create_record_table_name
:
Typed
<
keyof
Tables
,
{
label
:
"Table"
;
sysId
:
"f0fb68f267003200553fafb49585efa0"
}
,
>
;
skip_insert
:
Typed
<
boolean
,
{
label
:
"Skip Insert"
;
sysId
:
"9e5f9d85536333003bf1d9109ec587c6"
}
,
>
;
}
,
>
,
FlowIOType
<
{
record
:
Typed
<
string
|
Record
,
{
dependent
:
"table_name"
;
label
:
"Record"
;
sysId
:
"966cd57267003200553fafb49585efa0"
;
}
,
>
;
table_name
:
Typed
<
keyof
Tables
,
{
label
:
"Table"
;
sysId
:
"795c557267003200553fafb49585efb0"
}
,
>
;
}
,
>
,
false
,
false
,
>
createRecordForRemoteTable
:
ActionStepWithMeta
<
FlowIOType
<
{
create_record_field_values
:
Typed
<
string
|
number
,
{
column_type
:
"template_value"
;
label
:
"Field Values"
;
sysId
:
"e5d96b2d53112110aba6ddeeff7b1236"
;
}
,
>
;
create_record_table_name
:
Typed
<
keyof
Tables
,
{
label
:
"create_record_table_name"
;
sysId
:
"c442d88a53912110aba6ddeeff7b1277"
;
}
,
>
;
query_id
:
Typed
<
string
|
number
,
{
column_type
:
"string_full_utf8"
;
label
:
"Query ID"
;
mandatory
:
true
;
sysId
:
"8d068211a3913110aba698e6d31e61b6"
;
}
,
>
;
}
,
>
,
FlowIOType
<
{
table_name
:
Typed
<
keyof
Tables
,
{
label
:
"Table"
;
sysId
:
"2b3a236d53112110aba6ddeeff7b129d"
}
,
>
;
}
,
>
,
false
,
false
,
>
createTask
:
ActionStepWithMeta
<
FlowIOType
<
{
create_record_field_values
:
Typed
<
string
|
number
,
{
column_type
:
"template_value"
;
label
:
"Field Values"
;
mandatory
:
false
;
sysId
:
"2a7872d60b233200cbd9e240e0ea601e"
;
}
,
>
;
create_record_table_name
:
Typed
<
keyof
Tables
,
{
label
:
"Table"
;
mandatory
:
false
;
sysId
:
"9b6832d60b233200cbd9e240e0ea601c"
;
}
,
>
;
skip_insert
:
Typed
<
boolean
,
{
label
:
"Skip Insert"
;
mandatory
:
false
;
sysId
:
"1aeb688553af33003bf1d9109ec58710"
;
}
,
>
;
wait
:
Typed
<
boolean
,
{
label
:
"Wait"
;
mandatory
:
false
;
sysId
:
"a498b2d60b233200cbd9e240e0ea6004"
;
}
,
>
;
}
,
>
,
FlowIOType
<
{
table
:
Typed
<
keyof
Tables
,
{
label
:
"Table"
;
sysId
:
"19efa6b653333200f5bf435723dc340e"
}
,
>
;
task
:
Typed
<
string
|
Record
,
{
dependent
:
"table"
;
label
:
"Task"
;
sysId
:
"9f0b036353233200f5bf435723dc3475"
;
}
,
>
;
}
,
>
,
false
,
false
,
>
createTemplatedObject
:
ActionStepWithMeta
<
FlowIOType
<
{
input_data
:
Typed
<
string
,
{
label
:
"Input Data"
;
mandatory
:
true
;
sysId
:
"1a40be410f0010108c9c5019c4767e95"
;
}
,
>
;
object_type
:
Typed
<
string
,
{
label
:
"Object Type"
;
mandatory
:
true
;
sysId
:
"6a203e410f0010108c9c5019c4767e98"
;
}
,
>
;
}
,
>
,
FlowIOType
<
{
output_data
:
Typed
<
string
,
{
label
:
"Output Data"
;
sysId
:
"2e50fe410f0010108c9c5019c4767ede"
}
,
>
;
}
,
>
,
false
,
false
,
>
deleteMultipleRecords
:
ActionStepWithMeta
<
FlowIOType
<
{
__snc_dont_fail_on_error
:
Typed
<
boolean
,
{
label
:
"Don't fail on error"
;
sysId
:
"76207652c72a40105312134c95c26083"
;
}
,
>
;
conditions
:
Typed
<
string
,
{
label
:
"Conditions"
;
mandatory
:
true
;
sysId
:
"a34cb0a6c71100105312134c95c260a3"
;
}
,
>
;
set_workflow
:
Typed
<
boolean
,
{
label
:
"Run Business Rules and Workflow"
;
sysId
:
"156c34a6c71100105312134c95c26068"
;
}
,
>
;
sort_column
:
Typed
<
string
,
{
label
:
"Order by"
;
sysId
:
"79fb8029c7ee00105312134c95c26042"
}
,
>
;
sort_type
:
Typed
<
"sort_asc"
|
"sort_desc"
,
{
choices
:
{
sort_asc
:
{
label
:
"a to z"
}
;
sort_desc
:
{
label
:
"z to a"
}
;
}
;
label
:
"Sort Type"
;
sysId
:
"a85c8429c7ee00105312134c95c26033"
;
}
,
>
;
table_name
:
Typed
<
keyof
Tables
,
{
label
:
"Table"
;
mandatory
:
true
;
sysId
:
"693c70a6c71100105312134c95c26011"
;
}
,
>
;
}
,
>
,
FlowIOType
<
{
count
:
Typed
<
number
,
{
label
:
"Count"
;
sysId
:
"e7db3c66c71100105312134c95c26031"
}
,
>
;
error_message
:
Typed
<
string
,
{
label
:
"Error Message"
;
sysId
:
"60fbbc66c71100105312134c95c26033"
}
,
>
;
status
:
Typed
<
never
,
{
choices
:
{}
;
label
:
"Status"
;
sysId
:
"ce41be52c72a40105312134c95c2606b"
;
}
,
>
;
}
,
>
,
false
,
false
,
>
deleteRecord
:
ActionStepWithMeta
<
FlowIOType
<
{
record
:
Typed
<
string
|
Record
,
{
dependent
:
"table_name"
;
label
:
"Record"
;
sysId
:
"995a2105c723220061f553c6f0976301"
;
}
,
>
;
table_name
:
Typed
<
keyof
Tables
,
{
label
:
"Table"
;
sysId
:
"ab19a9c1c723220061f553c6f0976383"
}
,
>
;
}
,
>
,
FlowIOType
<
{}
>
,
false
,
false
,
>
email
:
ActionStepWithMeta
<
FlowIOType
<
{
bcc
:
Typed
<
string
,
{
label
:
"BCC"
;
sysId
:
"e8f043277f0b32005f58108c3ffa91d1"
}
,
>
;
body
:
Typed
<
string
|
number
,
{
column_type
:
"html"
;
label
:
"Body"
;
sysId
:
"8ef44f277f0b32005f58108c3ffa91f7"
;
}
,
>
;
cc
:
Typed
<
string
,
{
label
:
"CC"
;
sysId
:
"33c003277f0b32005f58108c3ffa91e8"
}
,
>
;
record
:
Typed
<
string
|
Record
,
{
dependent
:
"table_name"
;
label
:
"Target Record"
;
sysId
:
"9971a338a70323008299b39f08790195"
;
}
,
>
;
subject
:
Typed
<
string
,
{
label
:
"Subject"
;
mandatory
:
true
;
sysId
:
"4d0183277f0b32005f58108c3ffa9197"
;
}
,
>
;
table_name
:
Typed
<
keyof
Tables
,
{
label
:
"Table"
;
sysId
:
"e1312338a70323008299b39f087901f5"
}
,
>
;
to
:
Typed
<
string
,
{
label
:
"To"
;
mandatory
:
true
;
sysId
:
"40cf3ae37f0b32005f58108c3ffa91f3"
;
}
,
>
;
watermark_email
:
Typed
<
boolean
,
{
label
:
"Include Watermark"
;
sysId
:
"0fba76757303230082999cfd7bf6a7f2"
;
}
,
>
;
}
,
>
,
FlowIOType
<
{
email
:
Typed
<
|
string
|
Record
<
"sys_email"
>
|
ExplicitKey
<
"sys_email"
>
|
TableBrand
<
"sys_email"
>
,
{
label
:
"Email"
;
referenceTable
:
"sys_email"
;
sysId
:
"f4a503677f0b32005f58108c3ffa91cf"
;
}
,
>
;
}
,
>
,
false
,
false
,
>
fireEvent
:
ActionStepWithMeta
<
FlowIOType
<
{
event_name
:
Typed
<
|
string
|
Record
<
"sysevent_register"
>
|
ExplicitKey
<
"sysevent_register"
>
|
TableBrand
<
"sysevent_register"
>
,
{
label
:
"Event"
;
mandatory
:
true
;
referenceTable
:
"sysevent_register"
;
sysId
:
"599cf11aff30311077a95dac793bf1d2"
;
}
,
>
;
parm1
:
Typed
<
string
,
{
label
:
"Parm1"
;
sysId
:
"077ef59aff30311077a95dac793bf1ba"
}
,
>
;
parm2
:
Typed
<
string
,
{
label
:
"Parm2"
;
sysId
:
"17be7d9aff30311077a95dac793bf18f"
}
,
>
;
record
:
Typed
<
string
|
Record
,
{
dependent
:
"table"
;
label
:
"Record"
;
mandatory
:
true
;
sysId
:
"a3ad395aff30311077a95dac793bf12e"
;
}
,
>
;
table
:
Typed
<
keyof
Tables
,
{
label
:
"Table"
;
sysId
:
"020ebd5aff30311077a95dac793bf1ea"
}
,
>
;
}
,
>
,
FlowIOType
<
{}
>
,
false
,
false
,
>
getLatestResponseTextFromEmail
:
ActionStepWithMeta
<
FlowIOType
<
{
email_record
:
Typed
<
|
string
|
Record
<
"sys_email"
>
|
ExplicitKey
<
"sys_email"
>
|
TableBrand
<
"sys_email"
>
,
{
label
:
"Email Record"
;
mandatory
:
true
;
referenceTable
:
"sys_email"
;
sysId
:
"44d757420f13101051218e8ebc767eee"
;
}
,
>
;
}
,
>
,
FlowIOType
<
{
latest_response_text
:
Typed
<
string
|
number
,
{
column_type
:
"string_full_utf8"
;
label
:
"Latest Response Text"
;
mandatory
:
true
;
sysId
:
"6f88df420f13101051218e8ebc767e67"
;
}
,
>
;
}
,
>
,
false
,
false
,
>
log
:
ActionStepWithMeta
<
FlowIOType
<
{
log_level
:
Typed
<
"info"
|
"error"
|
"warn"
,
{
choices
:
{
error
:
{
label
:
"error"
;
sequence
:
20
}
;
info
:
{
label
:
"info"
;
sequence
:
40
}
;
warn
:
{
label
:
"warn"
;
sequence
:
30
}
;
}
;
label
:
"Log Level"
;
sysId
:
"ab123adbc712220061f553c6f0976387"
;
}
,
>
;
log_message
:
Typed
<
string
,
{
label
:
"Log Message"
;
sysId
:
"4fc2fadbc712220061f553c6f0976388"
}
,
>
;
}
,
>
,
FlowIOType
<
{}
>
,
false
,
false
,
>
lookUpRecord
:
ActionStepWithMeta
<
FlowIOType
<
{
__snc_dont_fail_on_error
:
Typed
<
boolean
,
{
label
:
"Don't fail flow on error"
;
sysId
:
"b019356673110010d70877186bf6a780"
;
}
,
>
;
conditions
:
Typed
<
string
,
{
label
:
"Condition"
;
sysId
:
"0cfca6043b23220057a4a2e334efc43b"
}
,
>
;
lookup_table_name
:
Typed
<
keyof
Tables
,
{
label
:
"Table"
;
sysId
:
"f9cc66043b23220057a4a2e334efc42f"
}
,
>
;
multiple_records_found
:
Typed
<
"error"
|
"use_first_record"
,
{
choices
:
{
error
:
{
label
:
"Fail the step"
;
sequence
:
20
}
;
use_first_record
:
{
label
:
"Return only the first record"
;
sequence
:
10
;
}
;
}
;
label
:
"If multiple records are found"
;
sysId
:
"3b9387923b23220057a4a2e334efc4e4"
;
}
,
>
;
sort_column
:
Typed
<
string
,
{
label
:
"Order by"
;
sysId
:
"a6da115587003300663ca1bb36cb0bc0"
}
,
>
;
sort_type
:
Typed
<
"sort_asc"
|
"sort_desc"
,
{
choices
:
{
sort_asc
:
{
label
:
"a to z"
;
sequence
:
100
}
;
sort_desc
:
{
label
:
"z to a"
;
sequence
:
200
}
;
}
;
label
:
"Sort Type"
;
sysId
:
"c62b915587003300663ca1bb36cb0bd2"
;
}
,
>
;
}
,
>
,
FlowIOType
<
{
error_message
:
Typed
<
string
,
{
label
:
"Error Message"
;
sysId
:
"145a3da673110010d70877186bf6a7a5"
}
,
>
;
record
:
Typed
<
string
|
Record
,
{
dependent
:
"table_name"
;
label
:
"Record"
;
sysId
:
"d3e627913b23220057a4a2e334efc45e"
;
}
,
>
;
status
:
Typed
<
never
,
{
choices
:
{}
;
label
:
"Status"
;
sysId
:
"14bd89c673310010d70877186bf6a7be"
;
}
,
>
;
table_name
:
Typed
<
keyof
Tables
,
{
label
:
"Table"
;
sysId
:
"a64d6a043b23220057a4a2e334efc4e8"
}
,
>
;
}
,
>
,
false
,
false
,
>
lookUpRecords
:
ActionStepWithMeta
<
FlowIOType
<
{
conditions
:
Typed
<
string
,
{
label
:
"Conditions"
;
sysId
:
"95f8bb21c36a32002841b63b12d3ae0c"
}
,
>
;
limit
:
Typed
<
number
,
{
label
:
"Max Results"
;
sysId
:
"0677f8e053200300f5bf435723dc34e3"
}
,
>
;
sort_column
:
Typed
<
string
,
{
label
:
"Order by"
;
sysId
:
"2df79dd187003300663ca1bb36cb0b33"
}
,
>
;
sort_type
:
Typed
<
"sort_asc"
|
"sort_desc"
,
{
choices
:
{
sort_asc
:
{
label
:
"a to z"
;
sequence
:
100
}
;
sort_desc
:
{
label
:
"z to a"
;
sequence
:
200
}
;
}
;
label
:
"Sort Type"
;
sysId
:
"6a88151587003300663ca1bb36cb0b14"
;
}
,
>
;
table_name
:
Typed
<
keyof
Tables
,
{
label
:
"Table"
;
sysId
:
"4d19bb21c36a32002841b63b12d3aeef"
}
,
>
;
}
,
>
,
FlowIOType
<
{
count
:
Typed
<
number
,
{
label
:
"Count"
;
sysId
:
"f6700274c32b32002841b63b12d3ae37"
}
,
>
;
records
:
Typed
<
string
|
number
,
{
column_type
:
"records"
;
label
:
"Records"
;
sysId
:
"5db8f721c36a32002841b63b12d3aeb7"
;
}
,
>
;
table_name
:
Typed
<
keyof
Tables
,
{
label
:
"Table Name"
;
sysId
:
"c576f2a2c32232002841b63b12d3ae66"
}
,
>
;
}
,
>
,
false
,
false
,
>
notification
:
ActionStepWithMeta
<
FlowIOType
<
{
notification
:
Typed
<
|
string
|
Record
<
"sysevent_email_action"
>
|
ExplicitKey
<
"sysevent_email_action"
>
|
TableBrand
<
"sysevent_email_action"
>
,
{
label
:
"Notification"
;
mandatory
:
true
;
referenceTable
:
"sysevent_email_action"
;
sysId
:
"cc7fb8b17f0332004d145212bdfa91da"
;
}
,
>
;
record
:
Typed
<
string
|
Record
,
{
dependent
:
"table_name"
;
label
:
"Record"
;
sysId
:
"4d1cbc717f0332004d145212bdfa91b8"
;
}
,
>
;
table_name
:
Typed
<
keyof
Tables
,
{
label
:
"Table"
;
sysId
:
"b8a793697f2a32005f58108c3ffa910b"
}
,
>
;
}
,
>
,
FlowIOType
<
{}
>
,
false
,
false
,
>
rest
:
ActionStepWithMeta
<
FlowIOType
<
{
api_operation
:
Typed
<
|
string
|
Record
<
"sys_openapi_operation"
>
|
ExplicitKey
<
"sys_openapi_operation"
>
|
TableBrand
<
"sys_openapi_operation"
>
,
{
label
:
"API Operation"
;
referenceTable
:
"sys_openapi_operation"
;
sysId
:
"29c75782c7822300a150effeeb976338"
;
}
,
>
;
api_source
:
Typed
<
|
string
|
Record
<
"sys_openapi"
>
|
ExplicitKey
<
"sys_openapi"
>
|
TableBrand
<
"sys_openapi"
>
,
{
label
:
"API Source"
;
referenceTable
:
"sys_openapi"
;
sysId
:
"c346f4d7c7312300a150effeeb976366"
;
}
,
>
;
application
:
Typed
<
|
string
|
Record
<
"ecc_agent_application"
>
|
ExplicitKey
<
"ecc_agent_application"
>
|
TableBrand
<
"ecc_agent_application"
>
,
{
label
:
"MID Application"
;
referenceTable
:
"ecc_agent_application"
;
sysId
:
"f11ebf865f101300a09a2abd7f466652"
;
}
,
>
;
attachment_file_name
:
Typed
<
string
,
{
label
:
"Attachment File Name"
;
sysId
:
"9458387787201300b3b67d5e27cb0b3b"
;
}
,
>
;
attachment_file_record
:
Typed
<
string
|
Record
,
{
dependent
:
"table"
;
label
:
"Attachment File Record"
;
sysId
:
"6278787787201300b3b67d5e27cb0b94"
;
}
,
>
;
attachment_id
:
Typed
<
|
string
|
Record
<
"sys_attachment"
>
|
ExplicitKey
<
"sys_attachment"
>
|
TableBrand
<
"sys_attachment"
>
,
{
label
:
"Attachment"
;
referenceTable
:
"sys_attachment"
;
sysId
:
"8bf0dc9687141300dd637d5e27cb0b3c"
;
}
,
>
;
base_url
:
Typed
<
string
|
number
,
{
column_type
:
"url"
;
label
:
"Base URL"
;
sysId
:
"a67a8ef03b23320057a4a2e334efc472"
;
}
,
>
;
body
:
Typed
<
string
|
number
,
{
column_type
:
"multi_small"
;
label
:
"Request Body[Text]"
;
sysId
:
"6c6073f1c71003007b237f48cb97633b"
;
}
,
>
;
build_request
:
Typed
<
"from_openapi"
|
"manually"
|
"from_snrestmessage"
,
{
choices
:
{
from_openapi
:
{
label
:
"From OpenAPI specification"
;
sequence
:
20
}
;
from_snrestmessage
:
{
label
:
"From REST Message"
;
sequence
:
20
}
;
manually
:
{
label
:
"Manually"
;
sequence
:
10
}
;
}
;
label
:
"Build Request"
;
sysId
:
"bb61fcd3c7312300a150effeeb97638e"
;
}
,
>
;
capabilities
:
Typed
<
|
string
|
Record
<
"ecc_agent_capability"
>
|
ExplicitKey
<
"ecc_agent_capability"
>
|
TableBrand
<
"ecc_agent_capability"
>
,
{
label
:
"Capabilities"
;
referenceTable
:
"ecc_agent_capability"
;
sysId
:
"c30a451d2f201300a09a839fb18c95b4"
;
}
,
>
;
connection
:
Typed
<
"use_connection_alias"
|
"define_connection_inline"
,
{
choices
:
{
define_connection_inline
:
{
label
:
"Define Connection Inline"
;
sequence
:
10
;
}
;
use_connection_alias
:
{
label
:
"Use Connection Alias"
;
sequence
:
20
}
;
}
;
label
:
"Connection"
;
sysId
:
"91e207d03b50030057a4a2e334efc4a0"
;
}
,
>
;
connection_alias
:
Typed
<
|
string
|
Record
<
"sys_alias"
>
|
ExplicitKey
<
"sys_alias"
>
|
TableBrand
<
"sys_alias"
>
,
{
label
:
"Connection Alias"
;
referenceTable
:
"sys_alias"
;
sysId
:
"262882f03b23320057a4a2e334efc4f0"
;
}
,
>
;
connection_timeout
:
Typed
<
number
,
{
label
:
"Connection Timeout"
;
sysId
:
"7a59009bc7522010820469467ec260c0"
;
}
,
>
;
credential_alias
:
Typed
<
|
string
|
Record
<
"sys_alias"
>
|
ExplicitKey
<
"sys_alias"
>
|
TableBrand
<
"sys_alias"
>
,
{
label
:
"Credential Alias"
;
referenceTable
:
"sys_alias"
;
sysId
:
"445c2a72b3701300176b051a16a8dcc2"
;
}
,
>
;
enable_retry_policy
:
Typed
<
boolean
,
{
label
:
"Enable Retry Policy"
;
sysId
:
"321e31fd87803300a8cc7d5e27cb0b7a"
;
}
,
>
;
form_URL_encoded_map
:
Typed
<
string
,
{
label
:
"Form URL Encoded"
;
sysId
:
"3684ec4787d01300dd637d5e27cb0bcb"
}
,
>
;
headers
:
Typed
<
string
|
number
,
{
column_type
:
"name_values"
;
label
:
"Headers"
;
sysId
:
"371837f1c71003007b237f48cb9763b0"
;
}
,
>
;
honor_duplicate_headers
:
Typed
<
boolean
,
{
label
:
"Honor Duplicate Headers"
;
sysId
:
"15288f755bd24110ab933520b881c713"
;
}
,
>
;
honor_duplicate_query_params
:
Typed
<
boolean
,
{
label
:
"Honor Duplicate Query Params"
;
sysId
:
"58715a1c53f22010d3a8ddeeff7b1248"
;
}
,
>
;
http_method
:
Typed
<
"delete"
|
"get"
|
"post"
|
"put"
|
"patch"
,
{
choices
:
{
delete
:
{
label
:
"DELETE"
;
sequence
:
50
}
;
get
:
{
label
:
"GET"
;
sequence
:
10
}
;
patch
:
{
label
:
"PATCH"
;
sequence
:
40
}
;
post
:
{
label
:
"POST"
;
sequence
:
20
}
;
put
:
{
label
:
"PUT"
;
sequence
:
30
}
;
}
;
label
:
"HTTP Method"
;
sysId
:
"e85b7ebf47222200b4fad7527c9a71e3"
;
}
,
>
;
is_streaming
:
Typed
<
boolean
,
{
label
:
"Is Streaming"
;
sysId
:
"f1255aa377322300efb691572b106135"
}
,
>
;
is_temporary_attachment
:
Typed
<
boolean
,
{
label
:
"Is Temporary Attachment"
;
sysId
:
"89fa6545cb200010a2fcb895634c9c3c"
;
}
,
>
;
mid_cluster
:
Typed
<
string
|
Record
,
{
dependent
:
""
;
label
:
"MID Cluster"
;
sysId
:
"cdfcf11053f10110d3a8ddeeff7b12e2"
;
}
,
>
;
mid_selection
:
Typed
<
"auto_select"
|
"specific_mid_cluster"
|
"specific_mid_server"
,
{
choices
:
{
auto_select
:
{
label
:
"Auto-Select MID Server"
;
sequence
:
1
}
;
specific_mid_cluster
:
{
label
:
"Specific MID Cluster"
;
sequence
:
3
}
;
specific_mid_server
:
{
label
:
"Specific MID Server"
;
sequence
:
2
}
;
}
;
label
:
"MID Selection"
;
sysId
:
"a7d3fa4b73131010791f94596bf6a79a"
;
}
,
>
;
mid_server
:
Typed
<
string
|
Record
,
{
dependent
:
""
;
label
:
"MID Server"
;
sysId
:
"61d6b2cb73131010791f94596bf6a721"
;
}
,
>
;
multipart_sources_string
:
Typed
<
string
,
{
label
:
"Multipart Body"
;
sysId
:
"b564608787d01300dd637d5e27cb0b7d"
}
,
>
;
override_base_url
:
Typed
<
boolean
,
{
label
:
"Override Base URL"
;
sysId
:
"8e4f451f5b010110ab933520b881c72c"
;
}
,
>
;
override_default_policy_for_alias
:
Typed
<
boolean
,
{
label
:
"Override Default Policy for Alias"
;
sysId
:
"324e357187c03300a8cc7d5e27cb0b43"
;
}
,
>
;
query_params
:
Typed
<
string
|
number
,
{
column_type
:
"name_values"
;
label
:
"Query Parameters"
;
sysId
:
"4328e2fb47222200b4fad7527c9a7164"
;
}
,
>
;
request_type
:
Typed
<
"text"
|
"binary"
|
"multi-part"
|
"form-url-encoded"
,
{
choices
:
{
binary
:
{
label
:
"Binary"
;
sequence
:
2
}
;
"form-url-encoded"
:
{
label
:
"Form URL-Encoded"
;
sequence
:
4
}
;
"multi-part"
:
{
label
:
"Multipart"
;
sequence
:
3
}
;
text
:
{
label
:
"Text"
;
sequence
:
1
}
;
}
;
label
:
"Request Type"
;
sysId
:
"bc79234a87d01300dd637d5e27cb0b24"
;
}
,
>
;
resource_path
:
Typed
<
string
,
{
label
:
"Resource Path"
;
sysId
:
"3d090af03b23320057a4a2e334efc455"
}
,
>
;
rest_message
:
Typed
<
|
string
|
Record
<
"sys_rest_message"
>
|
ExplicitKey
<
"sys_rest_message"
>
|
TableBrand
<
"sys_rest_message"
>
,
{
label
:
"REST Message"
;
referenceTable
:
"sys_rest_message"
;
sysId
:
"b79bea415b101110ab933520b881c737"
;
}
,
>
;
rest_message_function
:
Typed
<
|
string
|
Record
<
"sys_rest_message"
>
|
ExplicitKey
<
"sys_rest_message"
>
|
TableBrand
<
"sys_rest_message"
>
,
{
label
:
"REST Message Function"
;
referenceTable
:
"sys_rest_message"
;
sysId
:
"35bb6e415b101110ab933520b881c752"
;
}
,
>
;
rest_metadata
:
Typed
<
string
|
number
,
{
column_type
:
"json"
;
label
:
"REST Metadata"
;
sysId
:
"3c4d7367c7d32300a150effeeb9763a4"
;
}
,
>
;
retry_policy
:
Typed
<
|
string
|
Record
<
"sys_retry_policy"
>
|
ExplicitKey
<
"sys_retry_policy"
>
|
TableBrand
<
"sys_retry_policy"
>
,
{
label
:
"Retry Policy"
;
referenceTable
:
"sys_retry_policy"
;
sysId
:
"37be397587c03300a8cc7d5e27cb0ba2"
;
}
,
>
;
save_response_as_attachment
:
Typed
<
boolean
,
{
label
:
"Save As Attachment"
;
sysId
:
"f9df589687301300735f7d5e27cb0b2d"
;
}
,
>
;
table
:
Typed
<
keyof
Tables
,
{
label
:
"Table"
;
sysId
:
"a9adb007b3c21300176b051a16a8dc9a"
}
,
>
;
use_mid
:
Typed
<
boolean
,
{
label
:
"Use MID"
;
sysId
:
"e532afc12f101300a09a839fb18c95b9"
}
,
>
;
}
,
>
,
FlowIOType
<
{
error_code
:
Typed
<
string
,
{
label
:
"Error Code"
;
sysId
:
"d1744b7347622200b4fad7527c9a7105"
}
,
>
;
error_message
:
Typed
<
string
,
{
label
:
"Error Message"
;
sysId
:
"26a48b7347622200b4fad7527c9a71c0"
}
,
>
;
response_body
:
Typed
<
string
,
{
label
:
"Response Body"
;
sysId
:
"a804c77347622200b4fad7527c9a7119"
}
,
>
;
response_headers
:
Typed
<
string
,
{
label
:
"Response Headers"
;
sysId
:
"09d4cb7347622200b4fad7527c9a71e3"
}
,
>
;
response_stream
:
Typed
<
string
,
{
label
:
"Response Stream"
;
sysId
:
"4085daa377322300efb691572b1061cf"
}
,
>
;
status_code
:
Typed
<
string
,
{
label
:
"Status Code"
;
sysId
:
"a053077347622200b4fad7527c9a716e"
}
,
>
;
}
,
>
,
false
,
false
,
>
script
:
ActionStepWithMeta
<
FlowIOType
<
{
application
:
Typed
<
|
string
|
Record
<
"ecc_agent_application"
>
|
ExplicitKey
<
"ecc_agent_application"
>
|
TableBrand
<
"ecc_agent_application"
>
,
{
label
:
"MID Application"
;
referenceTable
:
"ecc_agent_application"
;
sysId
:
"f5e56d79b3101300176b051a16a8dce4"
;
}
,
>
;
capabilities
:
Typed
<
|
string
|
Record
<
"ecc_agent_capability"
>
|
ExplicitKey
<
"ecc_agent_capability"
>
|
TableBrand
<
"ecc_agent_capability"
>
,
{
label
:
"Capabilities"
;
referenceTable
:
"ecc_agent_capability"
;
sysId
:
"7d36ed79b3101300176b051a16a8dceb"
;
}
,
>
;
connection_alias
:
Typed
<
|
string
|
Record
<
"sys_alias"
>
|
ExplicitKey
<
"sys_alias"
>
|
TableBrand
<
"sys_alias"
>
,
{
label
:
"Connection Alias"
;
referenceTable
:
"sys_alias"
;
sysId
:
"2b2ba571b3101300176b051a16a8dc8f"
;
}
,
>
;
host
:
Typed
<
string
,
{
depends_on
:
readonly
[
"connection_alias"
]
;
label
:
"Host"
;
sysId
:
"28e4e579b3101300176b051a16a8dc0f"
;
}
,
>
;
mid_cluster
:
Typed
<
string
|
Record
,
{
dependent
:
""
;
label
:
"MID Cluster"
;
sysId
:
"0d2db9e653310110d3a8ddeeff7b1208"
;
}
,
>
;
mid_selection
:
Typed
<
"auto_select"
|
"specific_mid_cluster"
|
"specific_mid_server"
,
{
choices
:
{
auto_select
:
{
label
:
"Auto-Select MID Server"
;
sequence
:
1
}
;
specific_mid_cluster
:
{
label
:
"Specific MID Cluster"
;
sequence
:
3
}
;
specific_mid_server
:
{
label
:
"Specific MID Server"
;
sequence
:
2
}
;
}
;
label
:
"MID Selection"
;
sysId
:
"cbd1070373531010791f94596bf6a776"
;
}
,
>
;
mid_selection_type
:
Typed
<
"any"
|
"use_connection_alias"
|
"define_connection_inline"
,
{
choices
:
{
any
:
{
label
:
"Any MID"
;
sequence
:
1
}
;
define_connection_inline
:
{
label
:
"Use Inline Selection"
;
sequence
:
3
;
}
;
use_connection_alias
:
{
label
:
"Use Connection Alias"
;
sequence
:
2
}
;
}
;
label
:
"Select MID Server"
;
sysId
:
"2c226939b3101300176b051a16a8dc83"
;
}
,
>
;
mid_server
:
Typed
<
string
|
Record
,
{
dependent
:
""
;
label
:
"MID Server"
;
sysId
:
"f0d58b8373531010791f94596bf6a7be"
;
}
,
>
;
required_run_time
:
Typed
<
"instance"
|
"vanilla"
|
"mid"
,
{
choices
:
{
instance
:
{
label
:
"Instance"
;
sequence
:
number
}
;
mid
:
{
label
:
"MID"
;
sequence
:
number
}
;
vanilla
:
{
label
:
"Vanilla (Core JavaScript)"
;
sequence
:
number
}
;
}
;
label
:
"Required Runtime"
;
mandatory
:
true
;
sysId
:
"74315b04b3201300176b051a16a8dc2b"
;
}
,
>
;
script
:
Typed
<
string
|
ScriptModule
<
Function
>
,
{
label
:
"Script"
;
sysId
:
"71aa7f6647032200b4fad7527c9a719b"
}
,
>
;
}
,
>
,
FlowIOType
<
{}
>
,
true
,
true
,
>
sms
:
ActionStepWithMeta
<
FlowIOType
<
{
message
:
Typed
<
string
,
{
label
:
"Message"
;
mandatory
:
true
;
sysId
:
"c951b106737c001086592f163cf6a75a"
;
}
,
>
;
recipients
:
Typed
<
string
,
{
label
:
"Recipients"
;
mandatory
:
true
;
sysId
:
"dd317dc2737c001086592f163cf6a7fe"
;
}
,
>
;
}
,
>
,
FlowIOType
<
{
email
:
Typed
<
|
string
|
Record
<
"sys_email"
>
|
ExplicitKey
<
"sys_email"
>
|
TableBrand
<
"sys_email"
>
,
{
label
:
"Email"
;
referenceTable
:
"sys_email"
;
sysId
:
"29817506737c001086592f163cf6a72d"
;
}
,
>
;
}
,
>
,
false
,
false
,
>
updateMultipleRecords
:
ActionStepWithMeta
<
FlowIOType
<
{
__snc_dont_fail_on_error
:
Typed
<
boolean
,
{
label
:
"Don't fail on error"
;
sysId
:
"e2214bd6c72a40105312134c95c2600c"
;
}
,
>
;
conditions
:
Typed
<
string
,
{
label
:
"Conditions"
;
mandatory
:
true
;
sysId
:
"66401866c7dd00105312134c95c2607e"
;
}
,
>
;
field_values
:
Typed
<
string
|
number
,
{
column_type
:
"template_value"
;
label
:
"Field Values"
;
mandatory
:
true
;
sysId
:
"a5505866c7dd00105312134c95c26065"
;
}
,
>
;
set_autosysfields
:
Typed
<
boolean
,
{
label
:
"Update System Fields"
;
sysId
:
"0f7194a6c7dd00105312134c95c26028"
;
}
,
>
;
set_workflow
:
Typed
<
boolean
,
{
label
:
"Run Business Rules and Workflow"
;
sysId
:
"8a6154a6c7dd00105312134c95c26019"
;
}
,
>
;
sort_column
:
Typed
<
string
,
{
label
:
"Order by"
;
sysId
:
"168d8069c7ee00105312134c95c260a7"
}
,
>
;
sort_type
:
Typed
<
"sort_asc"
|
"sort_desc"
,
{
choices
:
{
sort_asc
:
{
label
:
"a to z"
}
;
sort_desc
:
{
label
:
"z to a"
}
;
}
;
label
:
"Sort Type"
;
sysId
:
"71ad0469c7ee00105312134c95c26027"
;
}
,
>
;
table_name
:
Typed
<
keyof
Tables
,
{
label
:
"Table"
;
mandatory
:
true
;
sysId
:
"c530d466c7dd00105312134c95c26066"
;
}
,
>
;
}
,
>
,
FlowIOType
<
{
count
:
Typed
<
number
,
{
label
:
"Count"
;
sysId
:
"a4101466c7dd00105312134c95c260a8"
}
,
>
;
error_message
:
Typed
<
string
,
{
label
:
"Error Message"
;
sysId
:
"10209466c7dd00105312134c95c26031"
}
,
>
;
status
:
Typed
<
never
,
{
choices
:
{}
;
label
:
"Status"
;
sysId
:
"4f814fd6c72a40105312134c95c26001"
;
}
,
>
;
}
,
>
,
false
,
false
,
>
updateRecord
:
ActionStepWithMeta
<
FlowIOType
<
{
record
:
Typed
<
string
|
Record
,
{
dependent
:
"table_name"
;
label
:
"Record"
;
mandatory
:
true
;
sysId
:
"aab0ddb267003200553fafb49585ef30"
;
}
,
>
;
table_name
:
Typed
<
keyof
Tables
,
{
label
:
"Table"
;
mandatory
:
true
;
sysId
:
"3930d57267003200553fafb49585efc5"
;
}
,
>
;
update_record_field_values
:
Typed
<
string
|
number
,
{
column_type
:
"template_value"
;
label
:
"Field Values"
;
sysId
:
"fcbf6c3667003200553fafb49585ef2e"
;
}
,
>
;
}
,
>
,
FlowIOType
<
{
record
:
Typed
<
string
|
Record
,
{
dependent
:
"table_name"
;
label
:
"Record"
;
sysId
:
"ffd3197267003200553fafb49585ef5a"
;
}
,
>
;
table_name
:
Typed
<
keyof
Tables
,
{
label
:
"Table"
;
sysId
:
"2fb3d57267003200553fafb49585ef43"
}
,
>
;
}
,
>
,
false
,
false
,
>
waitForCondition
:
ActionStepWithMeta
<
FlowIOType
<
{
conditions
:
Typed
<
string
,
{
label
:
"Conditions"
;
mandatory
:
true
;
sysId
:
"7de2fcca0b18030085c083eb37673aed"
;
}
,
>
;
record
:
Typed
<
string
|
Record
,
{
dependent
:
"table_name"
;
label
:
"Record"
;
mandatory
:
true
;
sysId
:
"c5d2fcca0b18030085c083eb37673a1c"
;
}
,
>
;
table_name
:
Typed
<
keyof
Tables
,
{
label
:
"Table"
;
sysId
:
"72b2bcca0b18030085c083eb37673a0b"
}
,
>
;
timeout_duration
:
Typed
<
string
|
number
,
{
column_type
:
"glide_duration"
;
label
:
"Duration"
;
sysId
:
"1fac6063876100102fa5a1bb36cb0bac"
;
}
,
>
;
timeout_flag
:
Typed
<
boolean
,
{
label
:
"Enable timeout"
;
sysId
:
"bc93428187120010663ca1bb36cb0b83"
}
,
>
;
timeout_schedule
:
Typed
<
|
string
|
Record
<
"cmn_schedule"
>
|
ExplicitKey
<
"cmn_schedule"
>
|
TableBrand
<
"cmn_schedule"
>
,
{
label
:
"Schedule"
;
referenceTable
:
"cmn_schedule"
;
sysId
:
"ae1d6463876100102fa5a1bb36cb0b56"
;
}
,
>
;
}
,
>
,
FlowIOType
<
{
state
:
Typed
<
never
,
{
choices
:
{}
;
label
:
"State"
;
sysId
:
"1fbdac63876100102fa5a1bb36cb0ba2"
;
}
,
>
;
}
,
>
,
false
,
false
,
>
waitForEmailReply
:
ActionStepWithMeta
<
FlowIOType
<
{
enable_timeout
:
Typed
<
boolean
,
{
label
:
"Enable Timeout"
;
sysId
:
"b3285f757f0f12108e688c90ac866575"
}
,
>
;
record
:
Typed
<
|
string
|
Record
<
"sys_email"
>
|
ExplicitKey
<
"sys_email"
>
|
TableBrand
<
"sys_email"
>
,
{
label
:
"Email Record"
;
mandatory
:
true
;
referenceTable
:
"sys_email"
;
sysId
:
"391597b17f0f12108e688c90ac866571"
;
}
,
>
;
timeout_duration
:
Typed
<
string
|
number
,
{
column_type
:
"glide_duration"
;
label
:
"Duration"
;
sysId
:
"3e78d3b57f0f12108e688c90ac86653b"
;
}
,
>
;
timeout_schedule
:
Typed
<
|
string
|
Record
<
"cmn_schedule"
>
|
ExplicitKey
<
"cmn_schedule"
>
|
TableBrand
<
"cmn_schedule"
>
,
{
label
:
"Schedule"
;
referenceTable
:
"cmn_schedule"
;
sysId
:
"b7a8d7b57f0f12108e688c90ac86659f"
;
}
,
>
;
}
,
>
,
FlowIOType
<
{
email_reply
:
Typed
<
|
string
|
Record
<
"sys_email"
>
|
ExplicitKey
<
"sys_email"
>
|
TableBrand
<
"sys_email"
>
,
{
label
:
"Email Reply"
;
referenceTable
:
"sys_email"
;
sysId
:
"10991bf57f0f12108e688c90ac866577"
;
}
,
>
;
state
:
Typed
<
never
,
{
choices
:
{}
;
label
:
"State"
;
sysId
:
"752ad3397f0f12108e688c90ac866579"
;
}
,
>
;
}
,
>
,
false
,
false
,
>
waitForMessage
:
ActionStepWithMeta
<
FlowIOType
<
{
enable_timeout
:
Typed
<
boolean
,
{
label
:
"Enable Timeout"
;
sysId
:
"d728c634931012105cd18166448918b0"
}
,
>
;
message
:
Typed
<
string
|
number
,
{
column_type
:
"string_full_utf8"
;
label
:
"Message"
;
mandatory
:
true
;
sysId
:
"83e74ef0931012105cd181664489182b"
;
}
,
>
;
timeout_duration
:
Typed
<
string
|
number
,
{
column_type
:
"glide_duration"
;
label
:
"Timeout Duration"
;
sysId
:
"15a942b4931012105cd18166448918bc"
;
}
,
>
;
}
,
>
,
FlowIOType
<
{
payload
:
Typed
<
string
|
number
,
{
column_type
:
"string_full_utf8"
;
label
:
"Payload"
;
sysId
:
"640b4ef4931012105cd181664489180b"
;
}
,
>
;
}
,
>
,
false
,
false
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@servicenow/sdk - v4.4.1
Loading...
Export all steps as a grouped object for convenient importing under action_step object