RT-Extension-Conservancy/etc/upgrade/0.6/content
2018-04-27 14:27:13 -04:00

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',
},
);