Kernel::System::ProcessManagement::Modules::TicketTypeSet

NAME

Kernel::System::ProcessManagement::Modules::TicketTypeSet – A module to set the type of a ticket.

DESCRIPTION

All TicketTypeSet functions.

PUBLIC INTERFACE

new()

Don't use the constructor directly, use the ObjectManager instead:

    my $TicketTypeSetObject = $Kernel::OM->Get('Kernel::System::ProcessManagement::Modules::TicketTypeSet');

Run()

    Run Data

    my $TicketTypeSetResult = $TicketTypeSetActionObject->Run(
        UserID                   => 123,
        Ticket                   => \%Ticket,   # required
        ProcessEntityID          => 'P123',
        ActivityEntityID         => 'A123',
        SequenceFlowEntityID       => 'T123',
        SequenceFlowActionEntityID => 'TA123',
        Config                   => {
            Type => 'Default',
            # or
            TypeID => 1,
            UserID => 123,                      # optional, to override the UserID from the logged user

        }
    );
    Ticket contains the result of TicketGet including DynamicFields
    Config is the Config Hash stored in a Process::SequenceFlowAction's  Config key
    Returns:

    $TicketTypeSetResult = 1; # 0
Scroll to Top