Working with dates

From SMTX Wiki
Revision as of 16:49, 2 November 2020 by Smtxwiki (talk | contribs) (Created page with "When using the new Date function, you will get the date in the timezone of the SSP server: <nowiki> WorkflowInterface.updateTicketFields(5320, { "Status": "Open", "Descripti...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

When using the new Date function, you will get the date in the timezone of the SSP server:

WorkflowInterface.updateTicketFields(5320, {
"Status": "Open",
"Description": "test123",
"Custom": {
 "Field 3": "test1234",
"SpecialDate": new Date(2020, 11,1)
}
});