Hello @ScottTanselle , I’ve only used the lookup transform in the way that you’ve shown in your example. You can have multiple keys point to a single value, but I don’t know if it’s possible to do that on the same line. Depending on your use case you may also be able to use a firstValid transform but that won’t be on a single line either.
It is not possible to map multiple key values to a single value in a single line using lookup transform.
Take a look at the link Lookup | SailPoint Developer Community.
As mentioned, this is not possible with a lookup table.
You could do this in a static transform with a bit of velocity like so: #if($val == AA || $val == BB)returnA#elseif($val == CC || $val == DD)returnB#{else}returnC#end
However, it’s less easy to read (and write) this and I’m pretty sure this is not better in any way to a lookup table
You can use a Static Transform to return in a single line.
But the problem is, if the lookup changes in future then you have to change the conditions in Static Transform’s apache velocity script, which is not a good idea.
When we develop a solution, we need to consider easy enhancements with simple changes for future requirements. That is why Lookup is the best choice here.
Basically we are getting a value from one system, such as Workday and we need to convert that value into a different value that gets stored in Active Directory that is being used by a completely different application.