How to pass variables between different models
This issue has been solved. See solution.
I have two models in my Web Forms Project: Primar and sub model to primary.
I call the sub model from within the primary model via the "Linked Model" component.
Wihin the sub model there are no variables available which are declared in the Primary model. Is there a way to pass those variables to the sub models?
I figured out that "Global" data will work, but I'd like to avoid needing to change all of my existing variables to global data, as I would need to modify my entire workflow.
Filed under: Workflow Solution, Endpoint Management and Virtualization
Input Data is the key!
Look in your sub model under the model name. You'll see Input Data. Set the variables you'd like to be passed into the model.
After you've set the names and types (you don't need any default values), go back to your primary model and right click on the Linked Model component and select Edit Component. You see values in the Mapping section. Map the values from the Primary to the Sub.
If you want to return some values from the Sub model, then define them as Output Data. After you've done this, In your Sub Model right click on the END component. You'll be able to map the values from your sub model so they will be visible on the Primary model.
Rob
Thanks Rob! This did the
Thanks Rob!
This did the trick!
Would you like to reply?
Login or Register to post your comment.