Skip to content

Commit 58ea522

Browse files
authored
Update script.js
1 parent dc205d1 commit 58ea522

File tree

1 file changed

+1
-1
lines changed
  • Specialized Areas/Fix scripts/Cacel Struck Slack Conversations

1 file changed

+1
-1
lines changed

Specialized Areas/Fix scripts/Cacel Struck Slack Conversations/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ This script will mark the struck slack conversation as canceled.
33
Use Case: Sometimes due to n/w or connecton issue, users are not able to end the conversations using restart or end command from slack.
44
*/
55
var struckConv = new GlideRecord('sys_cs_conversation'); // conversation table glide record
6-
struckConv.addEncodedQuery('stateINopen,faulted,chatInProgress^device_type=slack'); // Query can ve enhanced based on user (consumer) or date range.
6+
struckConv.addEncodedQuery('stateINopen,faulted,chatInProgress^device_type=slack'); // Query can be enhanced based on user (consumer) or date range.
77
struckConv.query();
88
while(struckConv.next()){
99
struckConv.setValue('state','canceled'); // set the state to cancel for struck conversation.

0 commit comments

Comments
 (0)