how to deactivate variable set
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-01-2016 12:09 AM
Can we deactivate variable set?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-01-2016 01:50 AM
You may not want to delete the variable set as it would also delete the variables within. If I remember correctly, this means any preexisting records utilizing those variables would lose information (variables would disappear). Deactivating the variables within the variable set would allow a user to restrict further use of the variable set without impacting existing records.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-01-2016 01:58 AM
I don't think the variables would get deleted but think variable set reference will get blanked out from related variables .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-01-2016 02:26 AM
I stand corrected. I assumed there would be a cascade delete when deleting the variable set which is not the case. The variables will remain with no data loss.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-01-2016 02:00 AM
Out of the box this is not possible.
As mentioned by others, there is a significant risk in loosing data when you delete the variable set: only do that if it was never used.
To really deactivate is:
* Remove the variable set from all the items it is linked to
* Add an attribute "u_active" to the variable set table
* Create a before query business rule that only allows the admin to see the variable sets that are inactive. (or something similar)
> alternative is to use a Read-ACL, but they people will see the "number of rows restricted by..." message.
This way the variable set will no longer be available, but the underlying questions are still valid for the items that made use of them.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-01-2016 02:20 AM
Have you guys tested about data loss? I do not think variables gets deleted from instance when variable set is deleted. If that is the case, there should be no data loss.
PS: I am not suggesting to delete variableset but just saying it is one of the options.