on 08-20-2013 7:02 AM
Hi experts,
In a process i have a complex data structure node with 0..n cardinality. How can i initialize it at the beginning of the process with constant values.
e.g. my structure is like:
ComplexStruct
- string 0..1 name
- string 0..1 url
and in a mapping step i want to init it with:
ComplexStruct
+[0] name="Name1"
url = "URL1"
+[1] name="Name2"
url = "URL2"
+[2] name="Name3"
url = "URL3"
Can anybody help me on this? Is there any documentation on this?
Regards
Michael
Hi Michael,
There is no need for any new development or any documentation. 'The Galaxy' provides you with an easy way to do it.
These steps might just help you:
1.Open the properties of the mapping activity, double click on the data structure node values to open the function dialog box. pass your desired values in just Double Inverted Commas:
2.Click on the 'Looping' part of the properties of the mapping activity to set the parameters for the for-each loop as and when you wish to increment the value or set a new one.
These steps are just for looping purposes. But as far as your question is concerned, you just want to initialize values to your elements in data structure. That can be acheived easily by just following the 1st step mentioned above.
Hope these steps help you. Don't forget to get back on this.
-Sid
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
74 | |
9 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.