Hi Mathieu
This is just like the crossover domain where the source is the attribute that has the data you want and the target is the attribute where you want to out the data.
This code snippet shows the ability to return more than one attribute when you use a lookup.
<returnAttributes id="Inventory.ItemsLookup_returnAttributes">
<returnAttribute id="Inventory.ItemsLookup_itemnum_itemnum" sourceAttribute="itemnum" targetAttribute="itemnum"/>
<returnAttribute id="Inventory.ItemsLookup_location_location" sourceAttribute="location" targetAttribute="location"/>
<returnAttribute id="Inventory.ItemsLookup_binnum_binnum" sourceAttribute="binnum" targetAttribute="binnum"/>
<returnAttribute id="Inventory.ItemsLookup_lotnum_lotnum" sourceAttribute="lotnum" targetAttribute="lotnum"/>
</returnAttributes>
This example is based on your question, but I'm sure you really didn't mean to do this from a single lookup
<returnAttributes id="1returnAttributes">
<returnAttribute id="1_attr1" sourceAttribute="personid" targetAttribute="attr1"/>
<returnAttribute id="1_attr2" sourceAttribute="personid" targetAttribute="attr2"/>
<returnAttribute id="1_attr3" sourceAttribute="personid" targetAttribute="attr3"/>
</returnAttributes>
------------------------------
===============================
Craig Kokay,
Lead Senior Maximo/IoT Consultant
ISW
Sydney, NSW, Australia
Ph: 0411-682-040
=================================
#IBMChampion2021
------------------------------