
Field | Data Type |
Current Intent Score | String |
Last Engagement Time | Date & Time |










whereFilter = "Last_Engagement_Time < '" + cutoffDateTimeStr + "' AND (Current_Intent_Score is null OR Current_Intent_Score != '0')"; coqlQuery = "SELECT id, Engagement_Score, Current_Intent_Score, Last_Engagement_Time FROM Leads WHERE (" + whereFilter + ") LIMIT " + pageOffset.toString() + ", 2000"; coqlBody = Map(); coqlBody.put("select_query",coqlQuery); info coqlBody.toString(); coqlResponse = invokeurl [ type :POST parameters:coqlBody.toString() connection:"zylker_oauth_connection" ]; info coqlResponse; |
pageLoopList = "".leftPad(6).replaceAll(" ",",").toList().subList(0,6); pageOffset = 0; updateBatch = List(); for each el in pageLoopList { //Your code here } |


Inactive Days | Remaining Factor | Current Intent Score |
0 | 1.00 | 100 |
1 | 0.64 | 64 |
2 | 0.36 | 36 |
3 | 0.16 | 16 |
4 | 0.04 | 4 |
5 | 0.00 | 0 |


Annual Revenue | Decay Factor | Result |
Less than $100K | 0.8 | Faster decay |
$100K - $500K | 1.0 | Standard decay |
Greater than $500K | 1.2 | Slower decay |
| Lead Status | Decay Factor | Result |
Attempted to Contact | 0.8 | Faster decay |
Not Qualified | 0.6 | Much faster decay |
Contacted | 1.0 | Standard decay |
Pre-qualified | 1.2 | Slower decay |
