Posts: 9
Threads: 3
Joined: Oct 2011
Reputation:
0
05-09-2012, 08:09 PM
Greetings,
If you use Settoproperty for an object in a shared repository, will the newproperty last between actions?
Let's say I have a script with 2 actions that use the same shared repository, Action1 and Action2. Object1 has a ordinal value of 0 in the repository. If Action1 sets Ordinal value to 1, when it shows up in Action2 (which is called directly after Action1 finishes), Will it still have value of 1?
Posts: 426
Threads: 4
Joined: Aug 2011
Reputation:
0
05-10-2012, 10:18 AM
Hi,
I think set to property last till your script is in execution , so change in property will be reflected for action 2 which is in continuation to action 1.
Regards,
Sankalp
Posts: 9
Threads: 3
Joined: Oct 2011
Reputation:
0
05-11-2012, 12:36 AM
(This post was last modified: 05-11-2012, 12:41 AM by petes85gt.)
Thanks for the response, that was what the documentation seemed to indicate. It doesn't look like SETTOPROPERTY is really designed to work with a shared repository. It seems to really screw around with identification properties. I have spent some time messing with it and it looks like 2 things are happening.
1) changes only last through the duration of the action, and revert back upon next action call, probably due to number 2 below.
2) SETTOPROPERTY will not make changes to a shared repository.
Posts: 424
Threads: 10
Joined: Aug 2011
Reputation:
0
05-11-2012, 10:53 AM
Yes. SETTOPROPERTY will not make changes to a shared repository. it will just update the object value during runtime. No Changes to OR will be made.
Thanks!
Ankesh
Posts: 6
Threads: 0
Joined: Apr 2012
Reputation:
0
05-11-2012, 03:21 PM
Even it will not update the local repository also, Updated value for the object is valid for run time only.