Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
acs-workflow
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
acs-workflow
Commits
a6434b3f
Commit
a6434b3f
authored
Dec 29, 2023
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cosine #5746: Add audit to WF manual task assignments
parent
48c1787a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
workflow-procs.tcl
tcl/workflow-procs.tcl
+12
-1
No files found.
tcl/workflow-procs.tcl
View file @
a6434b3f
# /packages/acs-workflow/tcl/workflow-procs.tcl
ad_library
{
Tcl-API for the workflow engine.
...
...
@@ -783,7 +785,6 @@ ad_proc -public wf_case_set_manual_assignments {
}
}
ad_proc -public wf_case_add_task_assignment
{
-task_id:required
-party_id:required
...
...
@@ -799,6 +800,11 @@ ad_proc -public wf_case_add_task_assignment {
);
end
;
}
set case_id
[
db_string caseid
"select case_id from wf_tasks where task_id = :task_id"
-default
""
]
set transition_key
[
db_string transitionkey
"select transition_key from wf_tasks where task_id = :task_id"
-default
"undefined"
]
set msg
"Manual assignment of task `
$transition
_key` to
[
acs_object_name
$party
_id
]
"
wf_new_journal -case_id
$case
_id -action
"assigned task #
$task
_id to #
$party
_id"
-action_pretty
$msg
-message
""
}
ad_proc -public wf_case_remove_task_assignment
{
...
...
@@ -816,6 +822,11 @@ ad_proc -public wf_case_remove_task_assignment {
);
end
;
}
set case_id
[
db_string caseid
"select case_id from wf_tasks where task_id = :task_id"
-default
""
]
set transition_key
[
db_string transitionkey
"select transition_key from wf_tasks where task_id = :task_id"
-default
"undefined"
]
set msg
"Removed manual assignment of task `
$transition
_key` to
[
acs_object_name
$party
_id
]
"
wf_new_journal -case_id
$case
_id -action
"removed assignment of task #
$task
_id to #
$party
_id"
-action_pretty
$msg
-message
""
}
ad_proc -public wf_case_clear_task_assignments
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment