Could you please share more details on what exactly you would like to achieve?
Thanks for the reply!
Here is my requirement:
I already have a Process Object with the following fields
Id --> int
ProcessID --> int
Status --> string
the process object will be the input for the UDF and it has to give the following output in a single line with pipe(|) delimiter.
This can be achieved through a subprocess, but I don't want extra ProcessIDs to be created.
Let me know if you require any other details.
Concat doesnt work?
The expression fn:concat($processObjectVariable.ID,'|',$processObjectVariable.ProcessName,'|',processObjectVariable.ProcessID,'|',processObjectVariable.Status)
Where processObjectVariable is the name of the process object variable.