Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

sustaining variables in Dynamic Linked Models

Created: 10 Feb 2013 • Updated: 14 Mar 2013 | 3 comments
This issue has been solved. See solution.

hello everyone.  has anybody had any experience using dynamic linked models with forms?  I'm using a dynamic model to bring the user to forms needed to fulfill certain selected requests, but what if they need to "edit" their entries?  the variables in the dynamic linked model doesn't persist.  I could create an output line for every variable on every form to suite the model template, but i'm hoping there's a much easier and better way.

so the actions to reproduce this issue would look something like this:

  1. select options on the portal page
  2. load in form models one at a time via the dynamic linked model
  3. load in confirmation/review form page
  4. click "edit" for a line item
  5. load in form model via dynamic linked model (again)
  6. values typed in or selected no longer exist.

thanks!

africo

Comments 3 CommentsJump to latest comment

rhamner's picture

Great question. Workflow has many ways to create 'strongly typed data'. These are objects like User, for example, that contain properties such as FirstName and LastName. If no database is involved then the best way to create these data types is with an Integration project using the 'User Defined Type' component generator. You can define all the properties you need to capture and then just map the entire object out of the linked model. When you add a property the mapping will not have to change.

africo's picture

Thanks rhamner, i'd still rather be able to have the values persist, since the model is sometimes hit up to 12 times, and from the dynamic form models, the output you're talking about would contain probably 350 distinct variables.  that would work, sure, but again, as mentioned in my original post, i'd like to know if there's a way to have the values persist instead of feeding them in and out of the model, whether using complex data types or not.

rhamner's picture

No, there's no way to make the data persist. Data has to be mapped in and out of linked models. They are a means of variable scoping. In some cases linked models are succinct bits of functionality that might generate 10 variables in the process of arriving at 1. I know this doesn't help you though but if you do want a better way than outputting 350 variables then I'd suggest using complex types.

 

SOLUTION