Skip to main content
February 14, 2017
Question

Handlers

  • February 14, 2017
  • 2 replies
  • 1641 views

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

1-Visitor
February 14, 2017

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

1-Visitor
March 3, 2017

Aditya,

Any update on this? Was my post helpful?