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

ThingWorx Navigate is now Windchill Navigate Learn More

Translate the entire conversation x

Service error notification o a mashup

iguerra
16-Pearl

Service error notification o a mashup

Thingowtx 9.6.5

 

I know it's possible to show a message on a mashup if a service gives an error.

The message can be a fixed token on the available localizations, or a string.

 

The string can also report the [server-message] that is the string description of the error generated by the service (plus some additional text !), that is in this format

Error executing service ***SERVICENAME**** . Message :: ***ERROR DESCRIPTION *** - See Script Error Log for more details.

 

Showing "See Script Error Log for more details", but also "Error executing service" is not very professional, even more there is a "customer" reading that ... (which error log ??)

Moveover  I would show a dynamic text returned by the service (in case of error) as a "wanted behaviour" for the error notification, because there may be more conditions...

 

Is there a way to to that ?

For me it could be enough to show the error description only instead of the whole message. There should be something like [server-message-msg]

 

1 REPLY 1

Hello,

Not according to my knowledge. What I do is wrap my “external” services code in try/catch and return data + error messages as an infotable, which I then handle via expressions on the mashup side.

Regards,
Constantine
Announcements


Top Tags