how to show a value of a process model in an Interface.

Hi All, 

I have a process Model where the value of a process variable is being updated internally like status : Success, Error, and so on . I just want to show an error message in an interface  to the user if the value is different from Success. 

  Discussion posts and replies are publicly visible