Audit – Get Recent Updates

This activity gets several audit details for the record the workflow runs on, based on a configurable time span, and returns the details as an HTML table for an email or a CSV table for a task or other record.

The table generated from this activity includes the date and time the change was made (presented in a user-configured timezone), the user who made the change, the attribute name and the pre and post values for the field.

Input Parameters

Parameter Name Type Description Default
Time Zone for Display Option Set The timezone that the datetime should be displayed in. Can be a dynamic or one of the 75 static values supported by CRM:
– The User Running the Worklfow
– The Owner of the Record
– (GMT-10:00) Hawaii
The User Running the Workflow
Time Period Value Whole Number The number of the selected time period that you want to include in the search.
Time Period Unit Option Set The units which you want to use to manipulate the date (Year, Month, Week, Day, Hour, Minute)
Include Header for Table? Boolean Indicates if the Header row should be rendered. Header column names are based off the query results. True
Table – Border Color Text The color of the grid lines. #000000 (Black)
Header – Background Color Text The background color for the header. #6495ED (Cornflower Blue)
Header – Font Color Text The font color of text in the header. #FFFFFF (White)
Header – Make Font Bold Boolean Indicated if the header text should be bolded True
Row – Background Color Text The background color of data rows 1, 3, 5… #FFFFFF (White)
Row – Font Color Text The font color of data rows 1, 3, 5… #000000 (Black)
Alternating Row – Background Color Text The background color of data rows 2, 4, 6… #F0F8FF (Alice Blue)
Alternating Row – Font Color Text The font color of data rows 2, 4, 6… #000000 (Black)

Output Parameters

Parameter Name Type Description
Number of Fields in Audit Result Whole Number The number of fields in the audit detail.
Audit History (HTML) Text The audit record, formatted as HTML based on the default styles. This can be used for emails or other HTML enabled fields.
Audit History (CSV) Text The audit record with no special formatting. The cells are separated with a comma (,) and rows with a line break. This should be used when for non-HTML fields like Description on an activity or more other text fields.