Skip to main content
Solved

AttributeCreator else if statement

  • July 18, 2016
  • 3 replies
  • 1251 views

Forum|alt.badge.img

is there a way in AttributeCreator to use if-else statement? for instance, if field1 < 10, field2 = 'low'.

or are there any better ways for this purpose?

Best answer by erik_jan

Yes, you can use the "Conditional value" option with the AttributeCreator and the newer AttributeManager to do exactly what you are describing.

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

erik_jan
Contributor
Forum|alt.badge.img+23
  • Contributor
  • Best Answer
  • July 18, 2016

Yes, you can use the "Conditional value" option with the AttributeCreator and the newer AttributeManager to do exactly what you are describing.


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

Yes, you can use the "Conditional value" option with the AttributeCreator and the newer AttributeManager to do exactly what you are describing.

thank you. learned a lot from this forum


ebygomm
Influencer
Forum|alt.badge.img+46
  • Influencer
  • July 18, 2016

The AttributeRangeMapper can also be useful for this type of mapping.