How to tell if a shared variable is set to shared?

bbjones

Member
Ran into a situation where knowing this might help.

You click that little dot button to change a task variable over to using a shared variable, but is there a way within the task to tell that it's using a shared variable or not? As opposed to not having clicked the dot button and it just being a normal field reference?

For example, normal field (not set):
1688437351378.png

Shared variable (not set):
1688437375994.png
 
Within the SharedVariable class there is a IsShared property that you can use.
 
Top