Forms: Run new workflows against old entries

Hi community!

I’d like to run a new workflow against existing entries for an Umbraco Form I have. I can’t see anything in the UI to allow me to do this and wondered if anyone has done something like this before?

I’m thinking that this would be a nice idea for an extension, so putting the feelers out before I put “pen to paper” and start crafting something.

I’m wondering if that’s not a thing from a GDPR perspective.. eg I’ve only sanctioned use of my data at the time of submission? :thinking:

Though I guess depends on your implementation of consent and intended new workflow :slight_smile:

Hi @Rockerby

Interested in your use case here, as typically forms submissions are point in time data captures - so if you run a new workflow (even if that’s possible), the data will be stale and as @mistyn8 says, it may have GDPR implications…

Justin

The specific use case here is that we want to store the data in an external system (it’s currently being done manually) and there’s quite a lot of backlog. Rather than processing current data in one way, and new data in another the idea came about to create a workflow (:white_check_mark: new data) and running that against the existing subs.

GDPR is a valid point, and should definitely be taken into consideration!

Could you write a backing service that takes csv?
Then you can use that for new workflow (transform the record values to csv in the worklow) , or a one time process existing entries (using the exported entries csv from the backoffice)

I think you could even create a custom exporter action to do that one time existing data?
Adding An Export Type To Umbraco Forms | Forms | Umbraco Documentation

Which removes the reliance on the csv backing store, as you can then can just pass record/records into your backing service?

actually looks like it’s an EntrySearchResult natively for the export, but as you have submission.UniqueId you could fetch the record ?

They’re all excellent suggestions @mistyn8 - thanks for putting the thought in :slight_smile: The CSV backing service is definitely a solid path.

Might make an extension anyway, sounds like a fun task.