29 lines
1.1 KiB
Text
29 lines
1.1 KiB
Text
![]() |
#!/usr/bin/env perl
|
||
|
|
||
|
@ScripConditions = (
|
||
|
{ Name => 'On Create Inbound',
|
||
|
Description => 'When a ticket is created by its requestor',
|
||
|
ApplicableTransTypes => 'Create',
|
||
|
ExecModule => 'CheckTransactionFlags',
|
||
|
Argument => 'IsInbound',
|
||
|
},
|
||
|
{ Name => 'On Create Not Inbound',
|
||
|
Description => 'When a ticket is created for the requestor by someone else',
|
||
|
ApplicableTransTypes => 'Create',
|
||
|
ExecModule => 'CheckTransactionFlags',
|
||
|
Argument => '!IsInbound',
|
||
|
},
|
||
|
{ Name => 'On Create Not Inbound With Content',
|
||
|
Description => 'When a ticket with content is created for the requestor by someone else',
|
||
|
ApplicableTransTypes => 'Create',
|
||
|
ExecModule => 'CheckTransactionFlags',
|
||
|
Argument => '!IsInbound HasContent',
|
||
|
},
|
||
|
{ Name => 'On Create Not Inbound Without Content',
|
||
|
Description => 'When an empty ticket is created for the requestor by someone else',
|
||
|
ApplicableTransTypes => 'Create',
|
||
|
ExecModule => 'CheckTransactionFlags',
|
||
|
Argument => '!IsInbound !HasContent',
|
||
|
},
|
||
|
);
|