How to create an Activity Log?

I’d love an easy way to build out an activity log whereas anytime a user changes data, it’s creates an item saying what they’ve done etc.

Would be even better if this was local to the item and also global so I can check all activity and make sure there’s no bugs.

Has anyone achieved this?

I note on the non legacy professional plan it has “Trigger workflows to run automatically when your data changes”; I did temporarily upgrade some months ago to try and work it out but couldn’t so went back to my professional legacy plan :slight_smile:

I know I could create a data type of log and on every action I could update a workflow to create and add it but it seems cumbersome and I was hoping they’d be an easier way :slight_smile:

2 Likes

This would be the way. Not aware of any other, except as you say, to roll your own.

I’m using the Trigger events when data changes, but I hit a slump: what about when a thing gets deleted?

1 Like

Don’t delete things. Have a marker. Then delete at some point later.

(although I did a see an event log tool for Bubble on Twitter … looked amazing).

2 Likes

Hey,
We’re about to release a new tool in a few days that allows better logging and automatic workflow error detection and reporting.

We’re actually looking for more alpha testers who have apps that receive traffic as we still need more data to train our IA models!

I would wait untill Bubble releases the new database limit for each plan before thinking in save log in your database :rofl:

2 Likes

I have a video on this that may give you some steps to follow.

2 Likes

Anyone got any solutions to this? Other than just recording it internally and watching the DB get HUGE.

2 Likes

I’m still looking too. I’m considering starting recording it internally and then delete after 30 days or something like that. Would still be most of the database volume.

I just came across this also. Bubble will store the “thing” before or “thing” after if deleted. The field you store will show (thing deleted).

If you are storing in your log “thing before” and “thing after” as a field this will still display data.