SAP Knowledge Base Article - Public

3274447 - Unable to parse date attribute when changing date format

Symptom

After changing the format of a custom attribute with type "Date", the models using this custom attribute will have some strange behaviors:   

  • All attributes will a value will be displayed as empty, only when you click on this attribute the value can be checked. 
  • After select another element, the attributes panel changes to show the shape attributes of the new element, however it does not change back to panel which using the date format attribute.  
  • In the console log of the browser developer tool, following error message can be found:

    editor.js?version=16.8.1:2 Uncaught TypeError: (0 , p.Z)(...).dateFormat is not a function

Environment

SAP Signavio Process Manager

Reproducing the Issue

  1. Create a new custom attribute for BPMN Task (type: date, format: "d.m.y")
  2. Create a new BPMN 2.0 Diagram with one task and fill the new custom attribute with a value
  3. Save Diagram
  4. Open Explorer and change the format of your custom date attribute to "d.m.Y"
  5. Reload the Editor and view the previously created task with the date value 

Resolution

This is a known issue and has already been forwarded to our developers to get this fixed. If you are affected by this issue and want to be kept up to date about this issue, 
please create a ticket in our SAP Signavio Support Portal and reference this knowledge base article.

As a workaround,

  • please change the date format back to the original one for the custom attribute
  • if there are not many models affected, please manually adjust the value of custom attribute to the new format and save the model

See Also

https://documentation.signavio.com/suite/en-us/Content/process-manager/userguide/workspace-admin/custom-attributes.htm#Formatoptions

Keywords

SAP Signavio Process Manager, editor, custom attribute, dataformat, dateFormat is not a function,spm , KBA , BPI-SIG-PM-MOD-EDT , Graphical Editor for SAP Signavio Process Manager , Problem

Product

SAP Signavio Process Manager 3.0