File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Specialized Areas/Fix scripts/Cacel Struck Slack Conversations Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ This script will mark the struck slack conversation as canceled.
33Use 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*/
55var 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.
77struckConv . query ( ) ;
88while ( struckConv . next ( ) ) {
99 struckConv . setValue ( 'state' , 'canceled' ) ; // set the state to cancel for struck conversation.
You can’t perform that action at this time.
0 commit comments