Kinetic Sample Incident Create Version 2

The KSSAMPLEIncident form is a simple incident form with a limited number of fields on it. This handler is designed to create a record in the form and return the Request ID of the record created. The only user information required is the requester's AR UserID or email address. The handler then goes out and checks if the value entered matches an existing UserID. If no results are returned, it then checks to see if the value entered matches an existing email address. If that doesn't return data it raises an exception.

The following data is used to create the KSSAMPLEIncident record:

  • Maps the deferral token of the task instance generated by this handler into the 'Link Id' field.

  • Sets the following field values to the specified values:

    • 'Case Type' => "Incident"
    • 'Status' => "New"
    • 'Priority' => "Low"
  • Sets the following field values to the values of the specified parameters:

    • 'AR Login' => "Login ID"
    • 'Summary' => "Summary"
    • 'Description' => "Description"
  • Sets the following KSSAMPLEIncident field values to the specified field values of the retrieved KSSAMPLEPeople record:

    • 'AR Login'
    • 'First Name'
    • 'Last Name'
    • 'Full Name'
    • 'Phone Number'
    • 'Email'
    • 'Region'
    • 'Site'
    • 'Department'
    • 'Office'
    • 'Company'

Parameters

Name Description
Login ID Either the Remedy AR Login ID or the email address of the requester
Summary A short summary of the incident
Description A detailed description of the incident

Sample Configuration

Name Description
Login ID <%=@answers['Requester Login ID']%>
Summary <%=@answers['Summary']%>
Description <%=@answers['Incident Description']%>

Results

Name Description
Entry Id The 'Request ID' of the incident that gets created.
Deferral Token

Changelog

KineticSampleIncidentCreate_V1 (2011-01-13)

  • Initial version. See README for details.


Related Handlers

Kinetic Sample Change Create
Creates an entry in the KS_SAMPLE_Change form based on information input by the end user.
Kinetic Sample Change Retrieve
Retrieves specific fields from a single entry in the KS_SAMPLE_Change form that is specified by the 'Entry Id' parameter, which is the Request ID of the record.
Kinetic Sample Incident Retrieve
Retrieves specific fields from a single entry in the KS_SAMPLE_Incident form that is specified by the 'Entry Id' parameter, which is the Request ID of the record.
Kinetic Sample Person Create
Creates a record in the KS_SAMPLE_People form based on the information input by the end user and returns the Request ID of the record created.
Kinetic Sample People Retrieve
Retrieves specific fields from a single entry in the KS_SAMPLE_People form. The record is retrieved by using the Search By and Search Value parameters to build a qualification.

Looking for a workflow engine?

Learn more about the Kinetic Data Enterprise Workflow Platform Check it out Caret right circle