Looping functoid, Mapping

90 views Asked by At

I've used two input schemas i.e. SCHEMA1 and GUID and output schema is also the SCHEMA1. First input schema is normal xml which includes Name, address and RefID as the elements and second input schema includes the GUID's which is hard coded in the message assignment box in orchestration. I want to use both the input schema to get the output schema which includes name, address, RefID and GUID in it.

I've used looping functoid and getting the result but GUID is not coming along with them. Also i've tried with index functoid but only the single GUID is coming in all the fields.

1

There are 1 answers

3
Dan Field On

It's hard to say without seeing your map, but it seems likely that this would be easier to do with a helper library. Have a C# class that has a list (containing your GUIDs) and a method that takes an index (which cold be passed from the iteration functoid) and returns the respective GUID from the list. You could set the GUIDs in the orchestration and then call the method fro ma scripting functoid.