br
This commit is contained in:
1 parent
f825c748cb
commit
05ebdde4fe
2 files changed
+16
No files matched your search
+11
@@ -0,0 +1,11 @@
|
|||||||
|
import { BusinessRule } from '@servicenow/sdk/core'
|
||||||
|
|
||||||
|
BusinessRule({
|
||||||
|
$id: Now.ID['df37c6e3c3b74f102f367205e401319d'],
|
||||||
|
name: 'Test',
|
||||||
|
table: 'incident',
|
||||||
|
when: 'before',
|
||||||
|
action: ['update', 'insert'],
|
||||||
|
filterCondition: 'stateCHANGESTO6^EQ',
|
||||||
|
script: Now.include('./sys_script_df37c6e3c3b74f102f367205e401319d.server.js'),
|
||||||
|
})
|
||||||
+5
@@ -0,0 +1,5 @@
|
|||||||
|
(function executeRule(current, previous /*null when async*/) {
|
||||||
|
|
||||||
|
gs.log('Inc resolved','test');
|
||||||
|
|
||||||
|
})(current, previous);
|
||||||
Reference in new issue
Block a user