Difference between revisions of "GetCatiOutcomeStatus"

From Catglobe Wiki
Jump to: navigation, search
Line 1: Line 1:
[[Category:Questionnaire_Functions]]
+
{{HelpFiles}}  
{{HelpFiles}}
+
 
 +
==== getCatiOutcomeStatus ====
 +
 
 +
Gets the system outcome-status of the last CATI-contacts.
 +
 
 +
'''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
  
getCatiOutcomeStatus()
+
Cati_ContactStatus_Failure
  
'''Arguments'''
+
Cati_ContactStatus_Meeting
  
None
+
Cati_ContactStatus_Retry
  
'''Return type'''
+
Cati_ContactStatus_Backlist
  
number. There are enumerations defined for the statuses:
+
Cati_ContactStatus_NotContacted
  
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-->
 

Revision as of 10:26, 28 December 2011



getCatiOutcomeStatus

Gets the system outcome-status of the last CATI-contacts.

Syntax

getCatiOutcomeStatus()

Arguments

None

Return type

number. There are enumerations defined for the statuses:

Cati_ContactStatus_Success

Cati_ContactStatus_Failure

Cati_ContactStatus_Meeting

Cati_ContactStatus_Retry

Cati_ContactStatus_Backlist

Cati_ContactStatus_NotContacted

Example

number status = getCatiOutcomeStatus();

if (status == Cati_ContactStatus_Success)

    print("Success.");

else

    print("Not success.");

Availability

Version 5.2