Skip to main content
1-Visitor
January 20, 2021
Solved

State definition issue when mentioning forward slash (/)

  • January 20, 2021
  • 1 reply
  • 1516 views

Hi,

In the state definitions, when mentioning a forward slash (/), it automatically converts it to (\2f).How can this be resolved? I wanted to mention the string as 'Idle/Stop'

 

Thanks in advance,

Shalini V.

Best answer by odukiya

Hello @svisveswaraiya_285988 

 

This seems like a issue which got fixed in later release.

So If you want to use Idle/Stop than may be you can set it with the forward slash as it is in the state definitions and when you save it,it shows you \2F instead of forward slash.(but that doesn't matter what i observed)

But on the configure state formatting if you change the value from idle\2f stop to idle/stop it will map with the output of your service(idle/stop) and work as expected.

 

I hope it answers your query. If you have any further concern or it doesn't answer your query, please feel free to revert.

Screenshot (6).png

Thanks

Om Dukiya

1 reply

5-Regular Member
January 20, 2021

This issue is not reproducible in 9.x while I saw it was there in 8.5.x - https://www.ptc.com/en/support/article/CS320432

 

You are working on which ThingWorx build ?

1-Visitor
February 16, 2021

Hi @mnarang ,

I am working on 8.4 vesion.

odukiya16-PearlAnswer
16-Pearl
February 17, 2021

Hello @svisveswaraiya_285988 

 

This seems like a issue which got fixed in later release.

So If you want to use Idle/Stop than may be you can set it with the forward slash as it is in the state definitions and when you save it,it shows you \2F instead of forward slash.(but that doesn't matter what i observed)

But on the configure state formatting if you change the value from idle\2f stop to idle/stop it will map with the output of your service(idle/stop) and work as expected.

 

I hope it answers your query. If you have any further concern or it doesn't answer your query, please feel free to revert.

Screenshot (6).png

Thanks

Om Dukiya