28 lines
1.1 KiB
Perl
28 lines
1.1 KiB
Perl
#!/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',
|
|
},
|
|
);
|