cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with deletion of surveys

zdravkokalenderov2
Discoverer
0 Kudos

Hi gurus,

I`m dealing with a strange problem in CRM_SURVEY_SUITE. When I'm trying to delete a survey that is a version different from 1, I first deactivate it by editing it (this raises the version +1) and when I try to delete it only the last version of the survey is deleted. The prior version is still there and active. Is there something that I'm missing? Any help will be appreciated.

Thanks in advance,

Regards,

Zdravko.

Accepted Solutions (0)

Answers (4)

Answers (4)

dmitry_sharshatkin
Active Participant
0 Kudos

Hello Guys,

In dev. you can try the following.

1). Table CRM_SVY_DB_S is maintainable. Set CRM_SVY_DB_S-VALUESDELETES = X and delete it from CRM_SURVEY_SUITE.

2). Function CRM_SVY_SURVEY_DELETE with flag FORCE = X

BR, Dima

zdravkokalenderov2
Discoverer
0 Kudos

Hi again,

After I have tried to explain to the business that the old surveys that were used once cannot be deleted now I have to deal with the following: Is there any chance the deactivated surveys to be sorted out from the view/list with the other active ones.

I have tried to find some sorting possibilities or creation of folder to move the inactive surveys but with no luck.

Please, if someone have any idea for dealing with this - the help will be much appreciated.

Another thing: Is there any official document/guide etc. about CRM_SURVEY_SUITE, I'll be very thankful if someone share/show it to me.

Thanks to all in advance,

Regards,

ZK

zdravkokalenderov2
Discoverer
0 Kudos

Hi there again,

Thanks for the replay first. So I have to assume that there is no way to delete completely a survey which is once used?

I have an additional question: what is the meaning of the "Test" field in Surveys list. There is Status: Active/Inactive; Version of the survey; Source Language; Test

I have couple of surveys (newly created), that have a red cross under the "Test" column. It doesn't matter if the surveys are active or not, the cross stays.

What is the meaning of this flag?

Thanks in advance for your time,

Regards,

Zdravko.

robert_kunstelj
Active Contributor
0 Kudos

The purpose of test function is to test the survey. If for example you set some rating factors to survey, you can do the test by filling the survey and test if the result of calculation is correct.

About the red cross I think that it's missleading and that it means if the survey was transported or not. But i'm not completly sure about tis.

Regards.

zdravkokalenderov2
Discoverer
0 Kudos

Hi,

Thanks for the response.

I have tried to delete surveys without deactivating them but it still don't work.

The message I get is: "Survey ******* version 000000001 must not be deleted".

robert_kunstelj
Active Contributor
0 Kudos

It's not possible to delete already used surveys because the system uses active versions of templates to display old versions of saved surveys in transactions.

Regards.