I'm trying to clone a submission. I have been able to seed the new submission with the previous submission's formXml (user entered data only of course), but I also need to copy attachments from the previous submission to the new one.
Any idea how I can achieve this?
Thanks for the background requirements. This sound like a good candidate for a Collaboration Job where the subsequent quotes are pre-filled with data from the initial application. In Transact these are Tasks (pre-filled forms assigned to users) to complete. Collaboration Jobs provide a user workflow capability to lead users through filling out a set of related tasks.
We have people who can help tease out solution options for your requirements with you. Please shoot me an email email@example.com, and we can organize some discussions.
Can you describe what you want to achieve here from a business perspective / use case.
I have a system that generates quotes. Quotes then lead users to apply (via the form built in Maestro). A user may start filling out the application and then change their mind on some quote options. So they go back to the quote and re-run it with a few different options. At this point they have 2 quotes they can access.
Re-run a quotes generally have the same application data, so I want to clone the application for the first quote to reduce their data entry. Some rules: