Commit b1da6c1c authored by Frank Bergmann's avatar Frank Bergmann

- Sorted the assignments in the Workflow assignment panel

- fixed im_project_nuke to deal with business objects
- fixed timesheet task creation
parent d502700a
<?xml version="1.0"?>
<queryset>
<rdbms><type>postgresql</type><version>7.1</version></rdbms>
<rdbms><type>postgresql</type><version>7.1</version></rdbms>
<fullquery name="roles">
<querytext>
<fullquery name="roles">
<querytext>
select
r.role_key,
r.role_name,
p.party_id,
acs_object__name(p.party_id) as party_name,
p.email as party_email,
'' as user_select_widget,
'' as add_export_vars,
'' as remove_url
from
wf_roles r
LEFT OUTER JOIN
select
r.role_key,
r.role_name,
p.party_id,
acs_object__name(p.party_id) as party_name,
p.email as party_email,
'' as user_select_widget,
'' as add_export_vars,
'' as remove_url
from
wf_roles r
LEFT OUTER JOIN
wf_context_assignments ca ON (
ca.workflow_key = r.workflow_key
and ca.context_key = :context_key
and ca.role_key = r.role_key
)
LEFT OUTER JOIN
LEFT OUTER JOIN
parties p
USING (party_id)
where
r.workflow_key = :workflow_key
order by
r.sort_order, r.role_key
</querytext>
where
r.workflow_key = :workflow_key
order by
r.sort_order, r.role_key
</querytext>
</fullquery>
<fullquery name="parties">
<querytext>
select p.party_id as sel_party_id,
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
)
</querytext>
<fullquery name="parties">
<querytext>
select p.party_id as sel_party_id,
acs_object__name(p.party_id) as sel_name,
p.email as sel_email
from parties p,
acs_objects o
where p.party_id = o.object_id and
o.object_type in ('im_profile','user') and
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
)
order by
o.object_type,
sel_name
</querytext>
</fullquery>
</queryset>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment