Skip to main content
Solved

I need a way of creating a new attribute from existing attributes, the name of the new attribute should be derived from a different attributes string value and the value of the new attribute should be derived from the value of a another attribute?

  • October 25, 2021
  • 2 replies
  • 113 views

I am currently using a ChangeDetector to determine which fields have been updated in two different databases. The change detector works as intended and creates a list of different fields have that have been updated. The problem I have is that all the updates need to be written to a database on a one-by-one basis and currently I cannot find a way of sorting the updates by the specific field that has been updated. The updated list created by the ChangeDetector has specific attributes called "attributeName" and "revisedValue". I want to use those two attributes to create a new single attribute which is named after "attributeName" and has the value from "revisedValue" that indicates to my database which field need to be updated and the value that has changed.

Best answer by caracadrian

Just use AttributeCreator with name @Value(existing_attribute_name) and set your desired value

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

2 replies

caracadrian
Contributor
Forum|alt.badge.img+23
  • Contributor
  • Best Answer
  • October 25, 2021

Just use AttributeCreator with name @Value(existing_attribute_name) and set your desired value


  • Author
  • November 1, 2021

Thanks it worked as described!


Reply


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