I have one scenario, when I open records in Tempo I need to insert some log info

I have one scenario, when I open records in Tempo I need to insert some log info in database based on some confidential data displayed on particular record. Could you please help how can achieve this.

In one of the sail forms I am able to do this using bind() and saving data in some operation on that form. In records I am not doing any operation so I cannot save anything. That's I am not able to use this technic in records sail form. Please suggest to me any other solution.

OriginalPostID-181804

OriginalPostID-181804

  Discussion posts and replies are publicly visible

Parents
  • If you want to follow best practice and continue to use Record for this purpose, then what tim.clarke suggested is the only way. Having SAIL form performed any write/modify operations without user action (via saveInto and bind()), would break the design pattern of no data modification during evaluation phase.

    Alternatively, you could implement this use case as Action or Related Action, so you can use Smart Service node to create a log just right before you chain the flow to SAIL form in a User Input Task. This will also make users realized that viewing confidential information is an action, not just browsing.
Reply
  • If you want to follow best practice and continue to use Record for this purpose, then what tim.clarke suggested is the only way. Having SAIL form performed any write/modify operations without user action (via saveInto and bind()), would break the design pattern of no data modification during evaluation phase.

    Alternatively, you could implement this use case as Action or Related Action, so you can use Smart Service node to create a log just right before you chain the flow to SAIL form in a User Input Task. This will also make users realized that viewing confidential information is an action, not just browsing.
Children
No Data