So here's what we're trying to accomplish.
We currently have a form that submits to a third-party test site for payment (this is done by means of passing the variables to a Web page, and having this Web page URL as the page to load upon completion of Form #1). From there, it takes the submitted information, processes it, and returns the Transaction Status, as well as the Transaction Date. From there, this information is parsed out of the URL and used to populate a second form (Form #2).
So what we're trying to do is take the Transaction Status and Date, and pass these from Form #2 (pre-loaded with the transaction information coming back from the payment company) and pass it back to the original form as variables, which could be used later.
To this point, I have written a workflow that will kick off when Form #1 is completed. From there, I've tried the Set Business Process Variables function to pass values back to Form #1, and I can see (via Track Tokens) that the value is passing, but looking at the original form instance, the variable never gets back (even with trying a delay, a subprocess, a delay before going to the subprocess, etc.).
When I use the Invoke Business Process function, it passes the value back to Form #1, but as you probably guessed, a separate instance of Form #1 runs instead.
So I guess what I'm wondering is, how can I ensure the values being passed from Form #2 back to Form #1 (through the workflow) will end up as a variable that can be used later in the original Form (Business Process)? Or is the workflow idea the wrong way of thinking for passing values between these two forms?
Thanks to anyone who chooses to tackle this - much appreciated!
Marty Gaffney - Network Technician
Town of Okotoks
@lfguy