Solved

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

  • 21 December 2022
  • 4 replies
  • 1 view

Badge +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

icon

Best answer by dustin 21 December 2022, 15:32

View original

4 replies

Userlevel 3
Badge +26

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

Badge +4

@dustin​ , 

Good tip. Thx.

 

Why are my expansion arrows red now?

imageTyler

Userlevel 3
Badge +26

@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.

Badge +4

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

👍

Reply