Text modules: Is there a variable to insert current date/time on article creation?

Infos:

  • Used Zammad version: 5.3.1 (5.3.1-1675806064.85c9455d.bullseye)
  • Used Zammad installation type: package
  • Operating system: Debian 11.6 (bullseye)
  • Browser + version: Chrome 110, Firefox 110

Expected behavior:

  • Add a variable like #{article.created_at} or #{now} in a text module, so when creating a new article and using this text module the current date and time is inserted.

Example text module CSV:

id,name,keywords,content,note,active,groups
"","ucb - Unsuccessful callback","","Called customer at #{article.created_at}, not phonable","",true,""

Actual behavior:

  • #{article.created_at} is - understandably - empty at article creation time. So the following text is inserted when using ::ucb:
Called customer at -, not phonable

Steps to reproduce the behavior:

  • Add a new text module and insert the variable #{article.created_at} in the text.

No there’s no such variable that would provide the current time of the system.

This topic was automatically closed 360 days after the last reply. New replies are no longer allowed.