Skip to main content
Solved

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

  • December 21, 2022
  • 4 replies
  • 30 views

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

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.

4 replies

dustin
Influencer
Forum|alt.badge.img+31
  • 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+31
  • Influencer
  • December 21, 2022

@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

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

👍