Hi all,
I have a question regarding using a ticket tracker application(s) and more than 1 workflow.
I'm using OpenACS V4.5 with Oracle 8i.
I have an instance of the ticket tracker application running.
This ticket tracker is associated with a workflow. This is working fine.
I've now created a second workflow - and I want to associate this workflow to a ticket tracker.
My understanding of what I need to do is as follows:
1. create a new directory in the site-map and use(mount) a second instance of the ticket-tracker application.
2. create a new set of procs/functions like those in ticket-tracker-packages.sql that reference the package_id and workflow_key of the second workflow/ticket tracker.
3. Change all ticket-tracker code so that everytime one of these packages,functions is called it says:
if ticket-tracker_1 && workflow_key_1 :
do a,
b,
c,
else if ticket-tracker_2 && workflwo_key_2 do:
x,
y,
z
e.g.
If <workflow_1> do:
begin
:1 := ttracker_ticket.new (
context_id => :package_id_1,
subject => :subject,
description => :description,
mime_type => :mime_type,
category_id => :category_id,
severity => :severity,
priority => :priority,
type => :type,
deadline => :deadline_date,
referral_source => :referral_source,
process_type => :process_type,
creation_user => :user_id,
creation_ip => :creation_ip
);
end;
else if <workflow_2>
begin
:1 := ttracker_ticket.new_workflow_2 (
context_id => :package_id_2,
subject => :subject,
description => :description,
mime_type => :mime_type,
category_id => :category_id,
severity => :severity,
priority => :priority,
type => :type,
deadline => :deadline_date,
referral_source => :referral_source,
process_type => :process_type,
creation_user => :user_id,
creation_ip => :creation_ip
);
end;
Question 1: Are the above steps correct ?
Question 2: Is there an easier way ? 😊 !!!, particularly
part 3, it seems quite cumbersome.
Tia
Ian Boyle