Skip to main content
Kinetic Community

Kinetic Sample Incident Create

Creates an entry in the KS_SAMPLE_Incident form based on information input by the end user.

Downloads

By downloading this file, you acknowledge that you agree to our Terms of Service

kinetic_sample_incident_create_v2.zip

Detailed Description

The only requester information required is either their AR UserID or their email
address.  This values is used to retrieve a KS_SAMPLE_People record an map
various required field values.

The KS_SAMPLE_Incident 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 KS_SAMPLE_Incident 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 KS_SAMPLE_Incident field values to the specified field
  values of the retrieved KS_SAMPLE_People 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

Parameter Example Configuration
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 The Deferral Token used when this Handler is set to be Deferred.

Change Log

Version Date Description
1 2011-01-13 Initial version
2 2015-01-08 Deferral Token added to the Results