diff --git a/src/fluent/generated/automation/flow/sys_hub_flow_cf7b02afc3b74f102f367205e4013161.now.ts b/src/fluent/generated/automation/flow/sys_hub_flow_cf7b02afc3b74f102f367205e4013161.now.ts new file mode 100755 index 0000000..2bd20aa --- /dev/null +++ b/src/fluent/generated/automation/flow/sys_hub_flow_cf7b02afc3b74f102f367205e4013161.now.ts @@ -0,0 +1,35 @@ +import { Flow, wfa, trigger, action } from '@servicenow/sdk/automation' + +Flow( + { + $id: Now.ID['cf7b02afc3b74f102f367205e4013161'], + name: 'Test Flow', + internalName: 'test_flow', + masterSnapshot: 'fcbc4263c3f74f102f367205e40131d0', + }, + wfa.trigger( + trigger.application.serviceCatalog, + { + $id: Now.ID['76ab0aafc3b74f102f367205e4013170'], + }, + { + run_flow_in: 'background', + } + ), + (_params) => { + wfa.action( + action.core.updateRecord, + { + $id: Now.ID['4ebb466bc3b74f102f367205e4013132'], + uuid: '572993b2-1326-4c38-9401-214eeb454162', + }, + { + record: wfa.dataPill(_params.trigger.request_item, 'reference'), + values: TemplateValue({ + priority: '5', + }), + table_name: 'sc_req_item', + } + ) + } +) diff --git a/src/fluent/generated/other/sys-flow-catalog-trigger/sys_hub_flow_cf7b02afc3b74f102f367205e4013161.now.ts b/src/fluent/generated/other/sys-flow-catalog-trigger/sys_hub_flow_cf7b02afc3b74f102f367205e4013161.now.ts new file mode 100755 index 0000000..81e9e63 --- /dev/null +++ b/src/fluent/generated/other/sys-flow-catalog-trigger/sys_hub_flow_cf7b02afc3b74f102f367205e4013161.now.ts @@ -0,0 +1,12 @@ +import { Record } from '@servicenow/sdk/core' + +Record({ + $id: Now.ID['99bc8263c3f74f102f367205e4013126'], + table: 'sys_flow_catalog_trigger', + data: { + active: 'true', + run_flow_in: 'background', + sys_domain: 'global', + sys_domain_path: '/', + }, +})