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

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

How to stop the thingworx service.

Chiranjit
7-Bedrock

How to stop the thingworx service.

I have a service which runs a loop and keeps setting the value in a session variable. Service is executed on click of button in mashup by a user. I want to stop the previous thread when the user re-clicks the button.

ACCEPTED SOLUTION

Accepted Solutions
PaiChung
22-Sapphire I
(To:Chiranjit)

Services can't be stopped.

What is your use case though.

Why do you have a loop that is setting values all the time (how often)

What you could do is add a flag that says, user has clicked button, don't update on this look, reset flag and move on.

When button is clicked it re-enables the flag.

View solution in original post

1 REPLY 1
PaiChung
22-Sapphire I
(To:Chiranjit)

Services can't be stopped.

What is your use case though.

Why do you have a loop that is setting values all the time (how often)

What you could do is add a flag that says, user has clicked button, don't update on this look, reset flag and move on.

When button is clicked it re-enables the flag.

Announcements


Top Tags