...
CaseCreateOptions inputData
Case properties.
Returns
Example
Code Block | ||
---|---|---|
| ||
var channelId = $Xml.Evaluate('ChannelId');
var newCase = $Domain.CreateCase(channelId, {
Subject : 'hello',
Description : 'hi team members'
Priority : 1
});
newCase.AddTag('newcase'); |
Types
CaseCreateOptions
{ // Name or Id of content type. Optional. ContentType : string // Creator identity. Optional. CreatedAt : DateTimeOffset // Creator identity. Optional. CreatedBy : string // Deadline date of case. If not specified no deadline is set. DeadlineAt : DateTimeOffset // Description of case. Optional. Description : string // Estimated duration in hours. Optional. EstimatedDuration : number // Date of next reminder. If not specified no reminder is set. NextReminderAt : DateTimeOffset // Priority of case. Optional. If not specified "Normal" priority is used. Priority : number // Subject of case. Optional. Subject : string }