It's all about the answers!

Ask a question

Can RPE use nested templates?

David Clark (234949) | asked Jul 01 '21, 5:10 p.m.

 I am building a very large trace matrix and the construction of this is nested inquiries. Is there a way to build a single template and nest them?

here is the general outline:

Step 1. get the artifact
Step 2. iterate over the links of the artifact in Step 1.
Step 3. get the data source of the link
Step 4. grab the context binding
Step 5. create a data source from the associated module - i need some information from the module
Step 6. get stuff from module data source
Step 7. get stuff from artifact (from Step 1)
Step 8. export stuff for a cell in a table
Step 9. iterate over the links of the data source from Step 3
Step 9a - repeat everything in Steps 1-9
Step 9a.a repeat nested (4 levels deep)

This is a recursive problem and am looking how can I write the Steps above once and then insert for the multiple levels.
I have a 4 level deep working now, just all manually created.

One answer

permanent link
Subramanya Prasad Pilar (4.6k14) | answered Jul 02 '21, 12:04 a.m.

You can try placing the block of elements within an Iteration element.

Your answer

Register or to post your answer.