Skip to main content
Sep 8, 2019 2:13 PM UTC
Solved

Is it possible to raise message from Expression or Validation ?

Hi , 

 

Is it possible to raise message from Expression or Validation ?  do we have certain TW.runtime function support this ? 

 

Regards,

Sean

Sep 27, 2019 12:49 PM UTC
Aaand another quick comment to say that what you asked is now possible in 8.5. There is a new type of function available in Mashup, called "Status Message". More info here: http://support.ptc.com/help/thingworx_hc/thingworx_8_hc/en/#page/ThingWorx%2FHelp%2FMashup_Builder%2FFunctions%2FFunctions.html%23wwID0ELTQ3

7 replies

Sep 9, 2019 3:55 AM UTC

The output of Expression can be a String, so you can get the message.

seancccAuthor
Sep 9, 2019 7:29 AM UTC

@zyuan1 ,

 

I want to display the raised message as the floating message box,  just like the message of calling the service .   is it possible ? 

Sep 9, 2019 7:46 AM UTC
Hi. The expression itself does not allow that. It is only meant to do some small logic on the input parameters. What you need is the Navigation widget, that has a popup mode. If you assign the Navigation widget a mashup with a parameter, that will appear as a property at the widget level, which you can bind to the result of the expression.