I’m basically trying to have a field within a thing, that will log which user last interacted with that particular thing.
The log needs to remain in the database even if the user leaves the page through any other means than a “save and progress” button (eg if they close the browser or something, it’s important that it still logs their interaction).
So currently I have a workflow on page-load adding the user id to a list of IDs within the page’s thing. Then on completion of that page, it just marks the thing as being completed by that user. So this requires a workflow run at the start and end of each user interaction.
But I had the idea that this might be possible with auto-binding instead, a way for the user to be logged at the start without using that additional workflow run. If i can do this i can basically use half the workflow runs per user interaction, which would mean i could support twice as many users.
However, loading a page with an auto-bound input will always load with the previous data… i cant figure out a way to have the data auto-update without the user having to actually change an input (which is impractical). And I don’t think it’s possible to use custom states, since these wont be saved if the page is closed etc.
Anyone have any ideas? It’d probably be kinda of a hack anyway, but that’s fine!