Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Case properties.

Returns

Example

Code Block
languagejs
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 }