cancel
Showing results for 
Search instead for 
Did you mean: 

Change the value of tag through transaction

Former Member
0 Kudos

Hello,

I want to change the default value of the tags which are present in the simulator services through the transaction. I want to change the value to expression and not integer value.
Current value of tag is 96-(rand()*12)

and i want to change it to some other expression for example 91-(rand()*19). I tried to add this expression in the tagvalue.1 in links of the tagquery action but it giving me "invalid data values" error. Does anyone knows how to do this?

Message was edited by: Michael Appleby

Accepted Solutions (0)

Answers (1)

Answers (1)

swaroop_anasane
Active Contributor
0 Kudos

Try changing mode to currentwrite.

Former Member
0 Kudos

mode is already currentwrite.

former_member196557
Active Contributor
0 Kudos

Hi Prasad,

I don't think you can change the expression through the PCoQuery. You may be able to write a value to the tag, but you must edit the expression in the PCoSimulator Datasource.

Regards, Steve