I have a form field that contains data need by a service after the form has been submitted. I want to avoid this data being stored in the Form XML in TM. How is this best achieved?
You could make sure the data field is never included in the form XML in the first place, that way it would never appear in any transaction history.
Instead, you could call a dynamic data service from the form to store the field in a property, which you could later retrieve in the Groovy service that needs it.
I haven't tried this.
Hey Dan, this is a common requirement that is satisfied by storing the data in a transaction property. If this data is captured in the form UI then you will need to perform a dynamic data call to a Groovy service on the server that will accept this information and add a transaction property using the following API:
This information can then be used by the post-submit service using the following API: