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
610c36d0
Commit
610c36d0
authored
Dec 17, 2008
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Merged changes from V3.3(?)
parent
22113fc9
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1380 additions
and
1368 deletions
+1380
-1368
acs-workflow.info
acs-workflow.info
+1
-0
wf-core-create.sql
sql/postgresql/wf-core-create.sql
+673
-658
workflow-package-body.sql
sql/postgresql/workflow-package-body.sql
+681
-690
static-assignments-table-postgresql.xql
www/admin/static-assignments-table-postgresql.xql
+6
-6
assignee-add-postgresql.xql
www/assignee-add-postgresql.xql
+14
-11
task.tcl
www/task.tcl
+5
-3
No files found.
acs-workflow.info
View file @
610c36d0
...
...
@@ -25,6 +25,7 @@
<provides
url=
"acs-workflow"
version=
"4.5.3"
/>
<requires
url=
"acs-kernel"
version=
"4.6.2"
/>
<requires
url=
"notifications"
version=
"4.0"
/>
<requires
url=
"acs-mail"
version=
"4.1"
/>
<parameters>
<parameter
datatype=
"number"
min_n_values=
"1"
max_n_values=
"1"
name=
"guard_font_size"
default=
"10"
description=
"The size of the font to use for guards when displaying a process graph."
section_name=
"fonts"
/>
...
...
sql/postgresql/wf-core-create.sql
View file @
610c36d0
This diff is collapsed.
Click to expand it.
sql/postgresql/workflow-package-body.sql
View file @
610c36d0
This diff is collapsed.
Click to expand it.
www/admin/static-assignments-table-postgresql.xql
View file @
610c36d0
...
...
@@ -42,12 +42,12 @@ order by
acs_object__name(p.party_id) as sel_name,
p.email as sel_email
from parties p
where p.party_id not in
(select
ca.party_id
from
wf_context_assignments ca
where
ca.workflow_key = :workflow_key
and
ca.context_key = :context_key
and
ca.role_key = :role_key
where p.party_id not in
(
select
ca.party_id
from
wf_context_assignments ca
where
ca.workflow_key = :workflow_key
and
ca.context_key = :context_key
and
ca.role_key = :role_key
)
</querytext>
...
...
www/assignee-add-postgresql.xql
View file @
610c36d0
...
...
@@ -6,23 +6,26 @@
<fullquery
name=
"unassigned_parties"
>
<querytext>
select p.party_id,
acs_object__name(p.party_id) as name,
p.email
from parties p,
($group_user_select_sql) pp
where
p.party_id = pp.party_id
and not exists (
select
p.party_id,
acs_object__name(p.party_id) as name,
p.email
from
parties p,
($group_user_select_sql) pp
where
p.party_id = pp.party_id
and not exists (
select 1
from wf_task_assignments ta
where ta.task_id = :task_id and ta.party_id = p.party_id
)
and 0
<
(select count(*)
)
and 0
<
(select count(*)
from users u, party_approved_member_map m
where m.party_id = p.party_id
and u.user_id = m.member_id)
order by name, email
order by
name, email
</querytext>
</fullquery>
...
...
www/task.tcl
View file @
610c36d0
...
...
@@ -12,6 +12,7 @@ ad_page_contract {
{
msg:html
{}}
{
vertical:integer 0
}
{
return_url
""
}
{
force_return_url 0
}
}
-properties
{
case_id
context
...
...
@@ -26,12 +27,12 @@ ad_page_contract {
# ---------------------------------------------------------
# Defaults & Security
# ToDo: NOTE! We need to add some double-click protection here.
# We don't force the user to authentify, is that right?
set
user_id
[
ad_get_user_id
]
set
current_url
[
im_url_with_query
]
# ToDo: NOTE! We need to add some double-click protection here.
set
the_action
[
array
names action
]
if
{
[
llength
$the
_action
]
> 1
}
{
ad_return_error
"Invalid input"
"More than one action was requested"
...
...
@@ -40,8 +41,9 @@ if { [llength $the_action] > 1 } {
set journal_id
[
wf_task_action -user_id
$user
_id -msg
$msg
-attributes
[
array
get attributes
]
-assignments
[
array
get assignments
]
$task
_id
$the
_action
]
# After a
"finish"
actio
i
n we can go back to return_url directly.
# After a
"finish"
action we can go back to return_url directly.
if
{
"finish"
==
$the
_action
}
{
ad_returnredirect
$return
_url
}
# Otherwise go back to the tasks's page
ad_returnredirect
"task?
[
export_url_vars task_id return_url
]
"
...
...
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