I am working on an application to apply for a credit card. On the submit button we are calling our service to see if they are approved or not and what their credit limit is. If they are approved with a credit limit of greater than a certain amount, the business wants to give the user the opportunity to initiate balance transfers. I have created a dynamic data call to set these balance transfers but I am getting an error message that says, "Submission XXX associated with Form RequestLog.RequestKey XXX has already been completed."
Has anyone else had to make a dynamic data call after submit? Does anyone know what steps I might be able to take to open this submission or allow this call to be made?
Thanks in advance for your help.
You might be better off using a Pre Submit rule. Add one in a Maestro form by clicking Form Options, Form Rules, Create Rule, then select Pre Submit.
Thanks, Bill. So just to be clear, you are saying that I should run my current "submit" code as a "pre-submit" rule. Then if the decision returns Declined or Manual Review, then I could return true from my DDS call and kick off the submit and open a submit success modal. Otherwise, if the decision is Approved, I could return false, then I could open a separate modal window, collect more information, call my "post submit" DDS and once that is successful submit the form?
later TM versions Dynamic Data Services have a new service parameter which should enable calling DDS post form submission. I am not sure which version this was added in though.
just found this in the TM core SDK doco
That was exactly what I needed!