Difference between revisions of "GetCatiOutcomeStatus"

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

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

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