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

NUMBER type attribute to create an alert

Snoopy_hu
11-Garnet

NUMBER type attribute to create an alert

running.pngNUMBER.pngWhy does using a NUMBER type attribute to create an alert cause an error?

ACCEPTED SOLUTION

Accepted Solutions
Rocko
19-Tanzanite
(To:Snoopy_hu)

Is this problem limited to a NUMBER type attribute?

It would have guessed the issue is that you are running thing from the thing itself (Things[me.name]).

Adding/updating an alert is a model operation, meaning you change the definition of the thing model. This means the thing has to be stopped, changed, and then restarted. This would cause the currently executing service to be stopped and that's why you get "Thing not running". 

 

Without testing it, I would assume it works if you move the service to a third entity.

View solution in original post

2 REPLIES 2
Rocko
19-Tanzanite
(To:Snoopy_hu)

Is this problem limited to a NUMBER type attribute?

It would have guessed the issue is that you are running thing from the thing itself (Things[me.name]).

Adding/updating an alert is a model operation, meaning you change the definition of the thing model. This means the thing has to be stopped, changed, and then restarted. This would cause the currently executing service to be stopped and that's why you get "Thing not running". 

 

Without testing it, I would assume it works if you move the service to a third entity.

Snoopy_hu
11-Garnet
(To:Rocko)

It worked successfully using the method you gave, thank you.

Announcements


Top Tags