Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

GetProjectQuestionnaireStatus: Difference between revisions

From Catglobe Wiki
No edit summary
 
Line 28: Line 28:
'''Example'''
'''Example'''


number status =getProjectQuestionnaireStatus()();
setRPQId(23423);
 
number status =getProjectQuestionnaireStatus();


if(status == ProjectQuestionnaire_Status_Open)
if(status == ProjectQuestionnaire_Status_Open)

Latest revision as of 10:30, 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

setRPQId(23423);

number status =getProjectQuestionnaireStatus();

if(status == ProjectQuestionnaire_Status_Open)

print("Open");

Availability

Version 5.2