Skip to content

Instantly share code, notes, and snippets.

View gsherman's full-sized avatar

Gary Sherman gsherman

View GitHub Profile
@gsherman
gsherman / 1-Task Manager
Last active August 29, 2015 13:56
Make "Run Task Set" a Business Rule Event and Activity Log entry
Add Run Task Set to the list of events
You can do this one of two ways.
Using Clarify UI Editor, Modify Form 472
Modify the control named "SEL_EVENT"
Add an Item of "Run Task Set"
Add a Path of CASE
Add a Value List Name of USER1005
Save it & Add this form to the proper Resource Configs
(This allows your custom event to be visible in the Clarify Client and in DovetailAdmin).
@gsherman
gsherman / crypt.bat
Last active August 29, 2015 14:01
bat file for encrypting and decrypting config files. In the bat file, there's a path to aspnet_regiis.exe that looks like: %windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe . That may need to be tweaked for your environment.
@echo off
REM depends on find_replace.vbs, assumed to be in same directory as this file (crypt.bat)
echo.
echo *** Encrypt/Decrypt a section of a Configuration file ***
echo.
if "%1" == "" goto usage
if "%2" == "" goto usage
@gsherman
gsherman / send_survey.bat
Created June 2, 2014 18:55
Batch file for sending a Net Promoter Score survey to a customer using Delighted (delightedapp.com)
@echo off
set Count=0
for %%a in (%*) do set /a Count+=1
if %count% NEQ 3 goto usage
c:
cd %~dp0
SET recipient=%1
@gsherman
gsherman / 1.readme.md
Last active August 29, 2015 14:04
Custom 404.1 Unauthorized page for Dovetail Agent 5

How to setup a custom 401.1 (Unauthorized) page for use with Dovetail Agent 5

This is useful when the Agent app is setup to use Windows authentication

Screenshot of the 401 page

Screenshot of the 401 page:

@gsherman
gsherman / hipchat-message.bat
Created September 19, 2014 15:33
post a message to a hipchat room
@echo off
set Count=0
for %%a in (%*) do set /a Count+=1
echo %Count%
if %count% NEQ 2 goto usage
c:
cd C:\Dovetail\RuleManagerActions\Hipchat
@gsherman
gsherman / campfire-message.bat
Created September 19, 2014 15:34
post a message to a campfire room
@echo off
set Count=0
for %%a in (%*) do set /a Count+=1
echo %Count%
if %count% NEQ 2 goto usage
c:
cd C:\Dovetail\RuleManagerActions\campfire
@gsherman
gsherman / slack-message.bat
Created September 19, 2014 15:36
post a message to a slack channel
@echo off
set Count=0
for %%a in (%*) do set /a Count+=1
if %count% NEQ 2 goto usage
SET message=%1
SET channel=%2
SET token=mySecretToken
/*
///////////////////////////////////////////////////////////////////////////////
// Product : Dovetail Mobile Agent
//
// Series : Dovetail Software Web Series(tm)
//
// Name : privclass_import.dat
//
// Description : Dovetail Mobile Agent Priv Class Detail
//
@gsherman
gsherman / commitment.dat
Created January 26, 2015 21:27
commitment template
OBJECT TYPE="com_tmplte", NAME="com_tmplte_commitment"
UNIQUE_FIELD=title
FIELDS
title = "Commitment";
time_til_esc = 7200;
flags = 144;
action = "TO: <OWNER.e_mail>
FR: <OWNER.login_name>
@gsherman
gsherman / json.example.cbs
Created June 5, 2015 16:52
Consuming JSON in ClearBasic
Option Explicit
Type SearchResult
Url as String
Id as String
Title as String
Content as String
End Type
Dim oneResult as SearchResult