Sync Workfront field changes to a lookup table
Recipe ToolsMarketingWorkatoDeveloper Tool
What it does
When a schedule triggers every 5 minutes, this automation queries Workfront for custom field changes since the last run. It logs the query time and processes each change record to keep the lookup table current.
Who it's for
Operations teams who need to track Workfront custom field changes automatically without manual monitoring.
How teams use this
Monitor custom field updates in Workfront
Track when specific Workfront custom fields change by running queries every 5 minutes and logging results. The lookup table stays in sync with Workfront without manual intervention.
Audit field changes for compliance
Keep a complete record of when and how custom fields are modified in Workfront for audit trails. Each change is captured and stored in the lookup table for review.
Alert teams when critical fields change
Add a notification step after processing each record to alert teams when specific custom fields are updated. Include the field name, old value, and new value in the message.
Filter changes by field type or project
Modify the Python code to only track changes on certain field types or within specific Workfront projects. The automation will process only the filtered records.
How it works
- Trigger every 5 minutes. This automation runs on a 5-minute schedule to check for Workfront field changes at regular intervals.
- Retrieve the last query timestamp. Look up the most recent query date and time from the Recipe Run Records lookup table in Lookup Table so only new changes are retrieved.
- Build the Workfront API query. Execute Python code in Py Eval to transform the list of custom fields into a Workfront API link that searches for changes since the last run.
- Fetch field change records from Workfront. Run a custom API call in Workfront to retrieve all journal entries where the tracked custom fields were updated since the last query.
- Process each change record. Loop through each field change returned and update the Field Change Tracking Lookup Table with the new data.