inbound_actions
Differences
This shows you the differences between two versions of the page.
| inbound_actions [01/22/2025 08:19] – created johnsonjohn | inbound_actions [12/31/2025 05:41] (current) – removed johnsonjohn | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ======Inbound Actions====== | ||
| - | ---- | ||
| - | |||
| - | =====BCA PC===== | ||
| - | < | ||
| - | (function runAction(/ | ||
| - | |||
| - | // Implement email action here | ||
| - | |||
| - | var subject = email.subject; | ||
| - | var workstation = subject.replace(' | ||
| - | |||
| - | var gr = new GlideRecord(' | ||
| - | gr.addQuery(' | ||
| - | gr.query(); | ||
| - | | ||
| - | if (gr.hasNext()) { | ||
| - | while (gr.next()) { | ||
| - | current.cmdb_ci = gr.sys_id; | ||
| - | } | ||
| - | } | ||
| - | |||
| - | current.update(); | ||
| - | |||
| - | })(current, event, email, logger, classifier); | ||
| - | </ | ||
| - | ---- | ||
inbound_actions.1737562781.txt.gz · Last modified: by johnsonjohn
