Capturing datetime of updates
I have a table which has 'Update Datetime' column. As soon there is a request for work, this column is updated. I can easily create a recursive and keep track of all tasks with updated datetimes (timeline). The problem is that as soon the task is complete, this same column changed and shows the complete task datetime. So I would say column name is distracting here. It is Update Datetime and completed Datetime in same col. I do have a flag which changes when task is complete from 0 to 1. Is there any way, I can capture all updated datetimes before the value changed in that column to complete datetime? I can then create a recursive and keep track of timeline for each task.
Comments
-
@jaeW_at_Onyx Any suggestions!!!
0 -
You should be able to do a recursive dataflow on this pretty easily and store the datetime for the task at different flags. When you join the new data with the recursive data, join it on task ID AND flag. This will allow you store the task datetime when the flag is 0 and then, in a new row, the task datetime when the flag is 1.
**Check out my Domo Tips & Tricks Videos
**Make sure to any users posts that helped you.
**Please mark as accepted the ones who solved your issue.1 -
Thanks @MarkSnodgrass . I will try to create a recursive as per you instructed and update you.
0 -
problem with recursives is that it will take snapshots when the data updates.
so usually you'd do an "End of Day" or "Start of Day" snapshot. If the task changed multiple times throughout the day you'd only get one row per day.
Frame your requirements in terms of the business question.
It could be "what was the state of the work log at the end of each day."
or it oculd be "how quickly do we close each task?"
then figure out what level of detail is important, if most tasks take several days or weeks to finish, then capturing an EOD snapshot makes sense.
if most tasks take less than a day to finish, you need an update model that will update more regularly.
webhooks are a better connector method than REST API for the later requirement if your system supports them
Webhooks are the same underpinnings of the likes of Zapier and IFTTT
Jae Wilson
Check out my š„ Domo Training YouTube Channel šØāš»
**Say "Thanks" by clicking the ā¤ļø in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"1 -
Thanks @jaeW_at_Onyx . Business in interested to know the datetime and number of changes on each task. It may change multiple times a day or some tasks are bigger then it may take more than a day. I think, it will be frequently updating dataset to capture all change's datetime.
0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 754 Beast Mode
- 61 App Studio
- 41 Variables
- 693 Automate
- 178 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive