IT Process Automation

Expand all | Collapse all

Dynamic Comment in PAM

Jump to Best Answer
  • 1.  Dynamic Comment in PAM

    Posted 07-06-2018 09:30 AM

    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:


  • 2.  Re: Dynamic Comment in PAM
    Best Answer

    Posted 07-10-2018 11:06 AM

    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.