Back to Cherwell Integrations
Handler · Version 1

Cherwell Object Create

Download GitHub

About

This handler generically creates a Cherwell object based on inputted JSON and returns an id of the new object after creation. Execution starts by retrieving an Access Token from Cherwell using the client id/secret and username/password info values. Once that is successfully retrieved, the Object Name is translated into a Business Object Id by using the /getbusinessobjectsummary endpoint. Next, a call to /getbusinessobjectemplate is made so the handler can exchange the Display Names (that are used in the inputted Object JSON string) for Field Ids for each of the fields that should be populated on create. Lastly, that translated JSON object is passed to /savebusinessobject to actually create the object in Cherwell. If the call is successful, the id of the newly created object will be returned by the handler.

Parameters
Name Description Sample
Error Handling Determine what to return if an error is encountered. Error Message
Object Name Readable name of the object to retrieve (ie. Incident). Incident
Object JSON A JSON representation of the displayName/values for the fields that the object should be created with. {"Status":"New","Description":"From Kinetic Task"...}
Results
Name Description
Handler Error Message Error message if an error was encountered and Error Handling is set to "Error Message".
Object Id Id for the newly created object
Changelog

Cherwell Object Create V1 (2019-11-13)

  • Added auth mode to info values

Cherwell Object Create V1 (2019-11-4)

  • Added error message Handling

Cherwell Object Create V1 (2018-02-14)

  • Initial version. See README for details.
Download GitHub

On This Page

Looking for a workflow engine? Learn more about the Kinetic Data Enterprise Workflow Platform. Check it out
Return to Top