Remedy Generic Create Version 2

This handler takes a json as input of a format like {"DB field Name":"value to place in field"} and uses this to create a record in the specified form.

At times, you may need to set Currency Fields in Remedy. This is accomplished by formatting the value as follows: { ... "My Currency Field":{"value":100.0,"currency":"USD"}, ... } The value portion must be parsed as a float. You can accomplish this as follows in the Field Values parameter: <%= { 'Text Field 1' => 'ABCD-EFG', 'Text Field 2' => '123456', 'Currency Field 1' => {'value' => @inputs["Currency Input"].to_f, 'currency' => 'USD' }, }.to_json %>

Parameters

Name Description
Form Name Form Name
Field Values JSON mapping of field values

Sample Configuration

Name Description
Form Name HPD:LoadTemplate
Field Values {"Template Identifier":"<%=@answers['Template Identifier']%>","Template Name":"<%=@answers['Template Name']%>","Status Template":"<%=@answers['Template Status']%>","Template Category Tier 1":"<%=@answers['Template Category Tier 1']%>","Description":"<%=@answers['Summary']%>","Detailed Decription":"<%=@answers['Notes']%>","Reported Source":"<%=@answers['Reported Source']%>","Service Type":"<%=@answers['Incident Type']%>","Status":"<%=@answers['Status']%>","Impact":"<%=@answers['Impact']%>","Urgency":"<%=@answers['Urgency']%>","Assigned Support Company":"<%=@answers['Assigned Support Company']%>","Assigned Support Organization":"<%=@answers['Assigned Support Organization']%>","Assigned Group":"<%=@answers['Authoring Group']%>","Authoring Company":"<%=@answers['Authoring Company']%>","Authoring Organization":"<%=@answers['Authoring Organization']%>","Authoring Group":"<%=@answers['Authoring Group']%>"}

Results

Name Description
Entry Id Id of the created entry.

Changelog

Remedy Generic Create v2 (2016-08-25)

*Added debug logging capability. Added JSON library so will work in Task 3.

Remedy Generic Create V2.1 (2018-05-23)

  • Added check for Task version before loading JSON dependency so it will work

with both Task 3 & 4.


Related Handlers

ARS9 Generic Query Retrieve
Retrieves a single ARS v9.x entry related to the Remedy Form specified.
BMC Remedy Email HTML Message Create
Creates an email message on the AR System Email Messages form
BMC Remedy User Update
Updates an entry in the User form based on the Remedy Login ID
Remedy Generic Dataload
Populates Records from a CSV data file
Remedy Generic Delete
Deletes a single Remedy entry related to the form entered with the Request ID specified.
Remedy Generic Find
Retrieves request IDs (field 1) and Instance IDs (field 179) for Remedy entries for the form entered using the query specified.
Remedy Generic Retrieve
Retrieves a single Remedy entry related to the form entered with the Request ID specified.
Remedy Generic Update
Updates a single Remedy entry related to the form entered with the Request ID specified. Updates field specified to value specified.
Remedy Group list Users
Lists users for given Group. Throws exception if Group does not exist.
Remedy User add Group
Adds a group to an existing user. Throws exception if User does not exist, also if group does not exist.
Remedy User Create
Creates a User in the User form - Login Name must be unique.
Remedy User list Groups
Lists groups for given User. Throws exception if User does not exist.
Remedy User Remove Group
Rmoves a group from an existing user. Throws exception if User does not exist, also if group does not exist.