AnsweredAssumed Answered

Dynamic Comment in PAM

Question asked by Poyato on Jul 6, 2018
Latest reply on Jul 10, 2018 by deama10

Is it possible to create a Dynamic Comment in PAM?
Example: I created a comment within a process that would have Process.Comment value


This process would receive a value from a javascript component that would have the script:

var tempDate = parseDate(Process.Form.agendamento, 'dd/MM/yyyy HH:mm:ss');
Process.Comment=  Math.round(Math.abs(tempDate.getTime() - now().getTime()) / 1000);

the comment is showing 45312788:

 

Outcomes