+ Add post
Dear mates,
I'd like to set a date to null in a process. I tryed several ways but it never worked.
Is it possible to do this in a process or should i do it in JS ?
Thanks, Nicolas
Like
Well i did it in js:
onEntityInitialized: function() { this.callParent(arguments); if (this.get("Stage").value === "991d70f4-7a10-42b8-bb9c-fd8096d05d9b") { this.showInformationDialog("Set the new Date to call"); this.set("DateToCall", null); } }
If someone knows how to set a Date to Null in a process, i m interested with
LÉZORAY Nicolas,
You can create date parameter and leave it empty. Then specify this parameter as a value that must be inserted to date field. It will leave this field empty or make it empty if it was filled in.
Best regards, Angela
Thank you it works !