• Confluence is currently running with all non-system plugins disabled, some functionality may be missing
Child pages
  • Sending the change log via email

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In ConfiForms, since the introduction of the "hasChanged" function in version 1.36, you can create a change log of fields that were changed during the last update and send them out to interested parties.

Here is how this can be done (Please take a look at this tutorial to get the basics on how to send emails from ConfiForms - Sending an email with attachments from Confluence with ConfiForms app)

We use Velocity templating features available in IFTTT macro body and we also use the fact that raw object for ConfiForms record is available in the context via name "entry".

This object has a method 

Code Block
hasChanged(propertyname)

which we will use in this scenario

So, imagine we have a form with 3 fields


  • t1 - text field
  • t2 - textarea field
  • d1 - dropdown field


So, in order to notify ourselves about the change in the value for each field we need to do the following

We use Velocity's #if #end construction and call for hasChanged method for each field we are interested in.

This is how you can get the change log for your record via email in ConfiForms.


ConfiForms (FormView) Registrations Control
restrictionssash


ConfiForms Form Definition
formNamemyform

t1t1text

t2t2textarea

d1d1false[1=one|2=two|3=three|]select2

Send EmailonModifiedChange log for entry [entry.id]sasha@vertuna.com

Changelog