Skip to main content
17-Peridot
September 8, 2019
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

19-Tanzanite
September 27, 2019
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

5-Regular Member
September 9, 2019

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

Translate
seanccc17-PeridotAuthor
17-Peridot
September 9, 2019

@zyuan1 ,

 

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

Translate
19-Tanzanite
September 9, 2019
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.
Translate