Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Transforming data during import to Assets

We have a datasource (a database) an attribute with data in the form "J" or "N", short term for swedish Yes (Ja) or No (Nej). In the Assets object I would like to store that as a boolean or status field. Simplest form I would like to say something like "Aktuell = J" to get a boolean.

Is there a way to do this during import?

We do now solve this by adding an automation checking the original attribute and update another when the objects are created or updated.

1 answer

1 vote
Frederic Chartrand
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Oct 10, 2023

Hi,

The Automation is a good workaround.

You could also change the attribute's type to "Select" and your Import will create entries for J and N automatically (assuming that in your import config you setup "Unknown value to "Add" for the "select attributes")

You can then filter on those objects with an AQL that add : Aktuell = J

Hope this helps.

Have a nice day

Frederic Chartrand - FMX Solutions - Gold Solution Partner

Yes this is good workaround.

We use a script instead, as we want to have the attributes in a form like in other object types. So that when we filter on these object we may use the same way as for other objects.

In this case we may end up, looking at our source to see if it may be changed as it is generated from yet another source :-)

But in general I would like to have a way to transform data during import.

Regards
Olof Johansson

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events