Create an Incident using the command line command pdm_text_cmd
search cancel

Create an Incident using the command line command pdm_text_cmd

book

Article ID: 54556

calendar_today

Updated On:

Products

CA Service Management - Service Desk Manager CA Service Desk Manager

Issue/Introduction

This document explains the syntax to create an incident using pdm_text_cmd utility.

Environment

Release: 12.6 or higher
Component:  CA Service Desk Manager

Resolution

  • Create the file (in.txt) within the referenced directory with some keywords.

    %ASSIGNEE=Administrator
    %Description=This is test
    %FROM_USERID=Administrator
    %TYPE=I

    The %TYPE=I attribute will notify ServiceDesk to create an incident.

  • Run the command:

    pdm_text_cmd -t REQUEST -u USERNAME -o NEW -f in.txt

    Substitute USERNAME with a userid that has privileges to create an incident.  Usually "ServiceDesk" works in most cases.

Additional Information

This utility can be adapted to mass create a large number of test tickets in the SDM product

See also documentation on the CA SDM Text API Interface