PhixFlow Help

17. Auditing Changes

Add auditing information for data changes to your application. To recap the steps in the video:

Audit Manual Data Changes

  1. Open the configuration form for the stream Businesses and set:
    1. Audit Manual Changes: tick
  2. Add attributes to the stream:
    1. UpdateAction
    2. UpdatedByName
    3. UpdatedTime
      You must make this a Datetime field.
  3. Go into App Mode and make some changes to your business data.
  4. Now create a new view to show all history.
    1. First create a new dashboard Businesses All History.
    2. Drag the stream Businesses onto this dashboard and add all attributes to the view.
      • Hide the UID attribute.
    3. Open the view configuration form.
    4. Update the Name to Business All History.
    5. Remember to set a Default Sort Order.
    6. Include History Records: tick
    7. Save your changes.
  5. In the new view, you can see full details of the changes you just made to the Businesses data.
  6. Add a menu item to the Businesses view to provide a link from the Businesses dashboard to the Business All History dashboard.
  7. Go into App Mode to test the new configuration.

Audit Analysis Data Changes

Add audit information for your imported data.

  1. Open the configuration form for the stream Businesses
  2. Update stream attribute expressions:
    1. UpdateAction: "IMPORT"
    2. UpdatedByName_user.name
    3. UpdatedTimenow()

For auditing manual changes, you must use the exact spelling for these attributes as given above. 


To test the configuration, go into App Mode and import the test file: Import_Businesses_3.csv. You will see a new business, "EDQ Empire" has been imported. Apply an update to this contact. Open the Business All History dashboard. You will now see two entries for this business, one for the import of the business and a second for the manual update you have just applied.


Please let us know if we could improve this page feedback@phixflow.com