Is it possible to create a Dynamic Comment in PAM?Example: I created a comment within a process that would have Process.Comment value
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:
No, it's not possible. It defeats the purpose of operator. As a comment it should provide explanation of how the process runs, what variables does it uses and everything. It doesn't make sense to have it's value changed after the execution is run. We have a runtime Dataset for that
You could create a Process.dataAgendamento variable that would be shown up here.
I do understand how it would be useful, but again, answering your question, no, it's not possible.