Skip to content

Commit 32689dd

Browse files
committed
Add useful comment
1 parent 6c310cb commit 32689dd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cls/SourceControl/Git/Extension.cls

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,11 @@ Method UserAction(Type As %Integer, Name As %String, InternalName As %String, Se
6161
do ..GetStatus(.InternalName, .isInSourceControl, .isEditable,.isCheckedOut,.userCheckedOut)
6262

6363
// Deal with Business Processes and Rules
64+
// Note: Business Processes and Rules do not have a 'new document' User Action, and thus must be added like this
6465
if (('isInSourceControl) && (##class(SourceControl.Git.Utils).Type(InternalName) = "cls")) {
6566
set name = $piece(InternalName,".CLS",1)
6667
set exists = ##class(%Dictionary.CompiledClass).%ExistsId(name)
67-
if (exists && ($classmethod(name,"%Extends","Ens.BusinessProcess") || $classmethod(name,"%Extends","Ens.BusinessRule"))) {
68+
if (exists && ($classmethod(name,"%Extends","Ens.BusinessProcess") || $classmethod(name,"%Extends","Ens.Rule.Definition"))) {
6869
do ..AddToSourceControl(InternalName)
6970
}
7071
}

0 commit comments

Comments
 (0)