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
- Create a new custom attribute for BPMN Task (type: date, format: "d.m.y")
- Create a new BPMN 2.0 Diagram with one task and fill the new custom attribute with a value
- Save Diagram
- Open Explorer and change the format of your custom date attribute to "d.m.Y"
- 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
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