Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-11130

Serialization of Dates is broken in Ext. Task Client JS

XMLWordPrintable

      vars.get(date) returns invalid Date:

      const camundaLib = require('camunda-external-task-client-js');
      const vars = new camundaLib.Variables();
      vars.set('date', new Date());
      vars.get('date'); 

      Root cause: Serialization Format is wrong, see https://github.com/camunda/camunda-external-task-client-js/issues/18 and https://github.com/camunda/camunda-external-task-client-js/blob/master/lib/__internal/utils.js#L168 for details

        This is the controller panel for Smart Panels app

              akif.hazarvi Akif
              martin.stamm Martin Stamm
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: