08-02-2020 04:30 AM
Hello All,
I am adding a variable as parameter in my subsequence and the same variable should automatically get created in the main sequence as local variable with the same variable name and type.
Is this possible ?
Could anyone please let me know how to do the same.
Thanks in advance
Sricharan
08-03-2020 02:23 AM
@prsricharan wrote:
Hello All,
I am adding a variable as parameter in my subsequence and the same variable should automatically get created in
[...]
Thanks in advance
Sricharan
Could you please rephrase your question? Are you trying to dynamically add a new parameter to a subsequence based on a variable? Or are you trying to assign a variable to a parameter?
08-05-2020 04:28 AM
In the Step Settings for the SequenceCall, when you enter a locals in the value of the Parameter and it doesn't exist you can right-mouse click, you get the option to create that locals within that sequence.
08-05-2020 08:16 AM
Hi Oli_Wachno,
Let me explain my question.
1.I have a main sequence and Subsequence in a single sequence File.
2.I am creating a parameters in Subsequence to pass data from Main Sequence.
In Main sequence while am calling the subsequence via seq call step type, the variables defined as parameters in the subsequence should be automatically created as local variable in variables pane of Main sequence(with same name and data type).
Please note: I am not trying to add parameters dynamically.(Executing Phase)
Am asking for sequence editor (Development Phase)
I hope this helps
Thanks
Sricharan
08-06-2020 02:38 AM
Hi Sricharan,
sorry, I don't think, there is a built-in possibility in the SequenceEditor to "create a local variable from subsequene parameter".
But you could go with what Ray has suggested in order to safe a bit of time.
Best Regards
Oli