Difference between revisions of "GetCatiOutcomeStatus"

From Catglobe Wiki
Jump to: navigation, search
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Category:Questionnaire_Functions]]
+
{{HelpFiles}}

+
 
 +
==== getCatiOutcomeStatus ====
 +
 
 +
Gets the system outcome-status of the last CATI-contacts of the resource project questionnaire context
 +
 
 +
'''Syntax'''
 +
 
 +
getCatiOutcomeStatus()
 +
 
 +
'''Arguments'''
 +
 
 +
None
  
====getCatiOutcomeStatus====
+
'''Return type'''
  
Gets the system outcome-status of the last CATI-contacts.
+
number. There are enumerations defined for the statuses:
  
'''Syntax'''
+
Cati_ContactStatus_Success (value : 1)
  
getCatiOutcomeStatus()
+
Cati_ContactStatus_Failure (value : 2)
  
'''Arguments'''
+
Cati_ContactStatus_Meeting (value : 3)
  
None
+
Cati_ContactStatus_Retry (value : 4)
  
'''Return type'''
+
Cati_ContactStatus_Backlist (value : 5)
  
number. There are enumerations defined for the statuses:
+
Cati_ContactStatus_NotContacted  (value : 0)
  
Cati_ContactStatus_Success Cati_ContactStatus_FailureCati_ContactStatus_MeetingCati_ContactStatus_RetryCati_ContactStatus_BacklistCati_ContactStatus_NotContacted
+
'''Example'''
  
'''Example'''
+
number status = getCatiOutcomeStatus();
  
number status = getCatiOutcomeStatus();
+
if (status == Cati_ContactStatus_Success)  
  
if (status == Cati_ContactStatus_Success)
+
    print("Success.");
  
    print("Success.");
+
else
  
else
+
    print("Not success.");
  
    print("Not success.");
+
'''Availability'''
  
'''Availability'''
+
Version 5.2 __NOTOC__ <!-- imported from file: 651.htm-->
  
Version 5.2
+
[[Category:Questionnaire_Functions]]
__NOTOC__
 
<!-- imported from file: 651.htm-->
 

Latest revision as of 11:02, 28 December 2011



getCatiOutcomeStatus

Gets the system outcome-status of the last CATI-contacts of the resource project questionnaire context

Syntax

getCatiOutcomeStatus()

Arguments

None

Return type

number. There are enumerations defined for the statuses:

Cati_ContactStatus_Success (value : 1)

Cati_ContactStatus_Failure (value : 2)

Cati_ContactStatus_Meeting (value : 3)

Cati_ContactStatus_Retry (value : 4)

Cati_ContactStatus_Backlist (value : 5)

Cati_ContactStatus_NotContacted (value : 0)

Example

number status = getCatiOutcomeStatus();

if (status == Cati_ContactStatus_Success)

    print("Success.");

else

    print("Not success.");

Availability

Version 5.2