Difference between revisions of "GetProjectQuestionnaireStatus"
Cg huyphong (talk | contribs) |
|||
Line 4: | Line 4: | ||
====getProjectQuestionnaireStatus==== | ====getProjectQuestionnaireStatus==== | ||
− | Gets the current status of the current | + | Gets the current status of the project questionnaire of the current RPQ context. |
'''Syntax''' | '''Syntax''' | ||
Line 18: | Line 18: | ||
number. There are enumerations defined for project questionnaire’s statuses. | number. There are enumerations defined for project questionnaire’s statuses. | ||
− | + | ProjectQuestionnaire_Status_Closed (value : 1) | |
+ | |||
+ | ProjectQuestionnaire_Status_Paused (value : 2) | ||
+ | |||
+ | ProjectQuestionnaire_Status_Open (value : 3) | ||
+ | |||
+ | ProjectQuestionnaire_Status_OpenForTest (value : 4) | ||
'''Example''' | '''Example''' |
Revision as of 11:29, 28 December 2011
getProjectQuestionnaireStatus
Gets the current status of the project questionnaire of the current RPQ context.
Syntax
getProjectQuestionnaireStatus()
Arguments
None
Return type
number. There are enumerations defined for project questionnaire’s statuses.
ProjectQuestionnaire_Status_Closed (value : 1)
ProjectQuestionnaire_Status_Paused (value : 2)
ProjectQuestionnaire_Status_Open (value : 3)
ProjectQuestionnaire_Status_OpenForTest (value : 4)
Example
number status =getProjectQuestionnaireStatus()();
if(status == ProjectQuestionnaire_Status_Open)
print("Open");
Availability
Version 5.2