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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Handlers

adityaku
1-Visitor

Handlers

Hi,

I have to write a handler in lua script, in which i have to toggle the state, which changes the state to “IN USE” if it is “AVAILABLE”, and “AVAILABLE” if it is “IN USE”, so it should alternate upon every query.

Can someone help me ?

2 REPLIES 2
jgorsline
12-Amethyst
(To:adityaku)

Aditya,

Have you checked out this article? It has a good foundation on how to do this:
https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS252792

jgorsline
12-Amethyst
(To:adityaku)

Aditya,

Any update on this? Was my post helpful?

Announcements


Top Tags