Skip to main content
Solved

Explode lists with a minimum of transformers

  • July 12, 2016
  • 3 replies
  • 18 views

Forum|alt.badge.img

I have a list containing several list as this example :

A{}.B{}

 

A{}.C{}

 

A{}.D{}

So I use a ListExploder for the A list. Then I have to use 3 ListExploder for each remaining list B, C and D.

Is there another way to do it minimizing the amount of ListeExploder in my project?

Thanks.

Best answer by takashi

Hi @slerendu, if each feature has all the components ('A{}.B{}' AND 'A{}.C{}' AND 'A{}.D{}'), I don't think you can avoid using three ListExploders (unless you write a Python script). If each feature has only a single component ('A{}.B{}' OR 'A{}.C{}' OR 'A{}.D{}'), you can rename the component (B, C, D) to an identical name using ListRenamers.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

takashi
Celebrity
  • Best Answer
  • July 12, 2016

Hi @slerendu, if each feature has all the components ('A{}.B{}' AND 'A{}.C{}' AND 'A{}.D{}'), I don't think you can avoid using three ListExploders (unless you write a Python script). If each feature has only a single component ('A{}.B{}' OR 'A{}.C{}' OR 'A{}.D{}'), you can rename the component (B, C, D) to an identical name using ListRenamers.


Forum|alt.badge.img
  • Author
  • July 12, 2016

Hi @slerendu, if each feature has all the components ('A{}.B{}' AND 'A{}.C{}' AND 'A{}.D{}'), I don't think you can avoid using three ListExploders (unless you write a Python script). If each feature has only a single component ('A{}.B{}' OR 'A{}.C{}' OR 'A{}.D{}'), you can rename the component (B, C, D) to an identical name using ListRenamers.

Hi Takashi, thanks for your answer. Ok, I'll do it.

For the use of ListRenamers, I saw your answer on the other post ;-)

https://knowledge.safe.com/questions/5036/using-2-list-exploders-at-once.html

BTW, how do you manage to add a link to my name (@takashi)?


gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • July 12, 2016

Just type the name of the poster. (or any other member) Correctly spelled of course...