cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

two outputs in a service

Irfan_Pasha
8-Gravel

two outputs in a service

Hi All,

I've an service as:

 

If(Condtion)

{

 //result should be infotable

}

else

{

//result should be an string

}

 

how can i achieve this, please help.

1 ACCEPTED SOLUTION

Accepted Solutions

You can't.

 

Just make an infotable for both results, you can make an infotable which first column it's for instance baseType, and second column it's a String and Third column it's an Infotable, then based on baseType column use second or third column.

View solution in original post

1 REPLY 1

You can't.

 

Just make an infotable for both results, you can make an infotable which first column it's for instance baseType, and second column it's a String and Third column it's an Infotable, then based on baseType column use second or third column.

Top Tags