More actions
No edit summary |
Cg huyphong (talk | contribs) No edit summary |
||
Line 4: | Line 4: | ||
====setProjectQuestionnaireStatus==== | ====setProjectQuestionnaireStatus==== | ||
Set the status of the current questionnaire. The project questionnaire context is required | |||
'''Syntax''' | '''Syntax''' | ||
Line 14: | Line 14: | ||
''status'': is a number expression. It should be one of the pre-defined enumerations: | ''status'': is a number expression. It should be one of the pre-defined enumerations: | ||
ProjectQuestionnaire_Status_NotSet : 0 | |||
ProjectQuestionnaire_Status_Closed : 1 | |||
ProjectQuestionnaire_Status_Paused : 2 | |||
ProjectQuestionnaire_Status_Open : 3 | |||
ProjectQuestionnaire_Status_OpenForTest : 4 | |||
'''Return type''' | '''Return type''' |
Latest revision as of 11:16, 3 January 2012
setProjectQuestionnaireStatus
Set the status of the current questionnaire. The project questionnaire context is required
Syntax
setProjectQuestionnaireStatus(status)
Arguments
status: is a number expression. It should be one of the pre-defined enumerations:
ProjectQuestionnaire_Status_NotSet : 0
ProjectQuestionnaire_Status_Closed : 1
ProjectQuestionnaire_Status_Paused : 2
ProjectQuestionnaire_Status_Open : 3
ProjectQuestionnaire_Status_OpenForTest : 4
Return type
empty
Example
setProjectQuestionnaireStatus(ProjectQuestionnaire_Status_Open);
Availability
Version 5.2