Skip to main content
Solved

Add attribute 'Status' during join/merge (i.e. 'joined', 'unjoined_left', 'unjoined_right')


townest
Contributor
Forum|alt.badge.img+4

Greetings,

 

Do you have a best practice for adding a 'status' attribute populated with the value of the join status such as 'joined', 'unjoined_left', 'unjoined_right'? I can imagine using a 'create attribute' transformer outside of each join transformer port, but that seems heavy on transformers (four total). Let me know if you have a more efficient solution.

 

Thank you,

 

Tyler

Workbench 2022.1

Best answer by dustin

If you right click on the output ports, you can add an attribute and set the value as needed. image

View original
Did this help you find an answer to your question?

4 replies

dustin
Influencer
Forum|alt.badge.img+30
  • Influencer
  • Best Answer
  • December 21, 2022

If you right click on the output ports, you can add an attribute and set the value as needed. image


townest
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • December 21, 2022

@dustin​ , 

Good tip. Thx.

 

Why are my expansion arrows red now?

imageTyler


dustin
Influencer
Forum|alt.badge.img+30
  • Influencer
  • December 21, 2022
townest wrote:

@dustin​ , 

Good tip. Thx.

 

Why are my expansion arrows red now?

imageTyler

@townest​ That's an indication that an attribute is being created in the port.


townest
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • December 21, 2022
dustin wrote:

@townest​ That's an indication that an attribute is being created in the port.

👍


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings