Re: [rt-users] setting up approvals on RT 4.0.1

2012-02-14 Thread Asanka Gunasekera
Hi, I have found the solution for the undermentioned issue, it was merely 
permission issu

hope some one can be helped with my exp (not that is much to what you guys are 
capable of)

Reagrds




 From: Asanka Gunasekera asanka_gunasek...@yahoo.co.uk
To: Asanka Gunasekera asanka_gunasek...@yahoo.co.uk; 
rt-users@lists.bestpractical.com rt-users@lists.bestpractical.com 
Sent: Monday, 13 February 2012, 20:08
Subject: Re: [rt-users] setting up approvals on RT 4.0.1
 

Hi I found why the tickets are not visible in the approvals tab. when a ticket 
is created for approvals the owner is nobody rather than the person who is 
approving the ticket.

Now can some one tell me what I am doing wrong, below is my template 

===Create-Ticket: poreq
Subject: Approve purchase order for {$Tickets{'TOP'}-Subject}
Depended-On-By: TOP
Queue: Approvals-PO
Type: approval
Owner: appro...@iil.informatics.lk #username-of-owner   #note this is so that 
notifications work properly
Content: Someone has created a purchase
 requisition.  Please review and approve it, so they can spend some money.
ENDOFCONTENT

Thanks and regards




 From: Asanka Gunasekera asanka_gunasek...@yahoo.co.uk
To: Asanka Gunasekera asanka_gunasek...@yahoo.co.uk; 
rt-users@lists.bestpractical.com rt-users@lists.bestpractical.com 
Sent: Monday, 13 February 2012, 16:28
Subject: Re: [rt-users] setting up approvals on RT 4.0.1
 

Hi, I am sure some one would have got this working, is there any one who can 
give me some hand in this, though I can see the ticket created by looing up in 
the logs. Aprovals do not show up in approvals tab?

Thanks 




 From: Asanka Gunasekera asanka_gunasek...@yahoo.co.uk
To: Asanka Gunasekera asanka_gunasek...@yahoo.co.uk; 
rt-users@lists.bestpractical.com rt-users@lists.bestpractical.com 
Sent: Thursday, 19 January 2012, 9:58
Subject: Re: [rt-users] setting up approvals on RT 4.0.1
 

Hi I am stuck! any help can any one give on this




 From: Asanka Gunasekera asanka_gunasek...@yahoo.co.uk
To: Asanka Gunasekera asanka_gunasek...@yahoo.co.uk; 
rt-users@lists.bestpractical.com rt-users@lists.bestpractical.com 
Sent: Tuesday, 10 January 2012, 11:51
Subject: Re: [rt-users] setting up approvals on RT 4.0.1
 

Hi Can any one tell me what I am doing wrong??

Thanks and regards



 From: Asanka Gunasekera asanka_gunasek...@yahoo.co.uk
To: Asanka Gunasekera asanka_gunasek...@yahoo.co.uk; 
rt-users@lists.bestpractical.com rt-users@lists.bestpractical.com 
Sent: Thursday, 5 January 2012, 11:53
Subject: Re: [rt-users] setting up approvals on RT 4.0.1
 

Hi, the steps which I have taken while trying to setup Approvals as follows

1) Create queue PO-Qre
        a) Create template Create Approvals
        ===Create-Ticket: poreq         Subject: Approve purchase order for 
{$Tickets{'TOP'}-Subject}         Depended-On-By: TOP         Queue: 
Approvals-PO         Type: approval         Owner: username-of-owner   #note 
this is so that notifications work properly         Content: Someone has 
created a purchase requisition.  Please review and approve it, so they can 
spend some money.         ENDOFCONTENT
        b) Create the script Create PO-Req approval

        Description: Create PO Req approval         Condition: On Create        
 Action: Create Tickets         Template: Create Approval         Stage: 
TransactionCreate

    c)gave permission to the users who can create tickets under PO-Req

2) Create Approvals-PO queue

    d)Copy templates from _Approvals (or ran the script)
    e)Set the reply address to PO-Req
    f)Add the people as AddminCC who are to approve the ticlets
  
Now when I create a ticket under PO-Req, in the log it says it is creating 
ticket in Approvel-PO queue.
But I am unable to find the
 tickets
 in the DB or under Approvals tab

Can some one tell me what is going
 on!!!


Thanks and best Regards



 From: Asanka Gunasekera asanka_gunasek...@yahoo.co.uk
To: rt-users@lists.bestpractical.com rt-users@lists.bestpractical.com 
Sent: Thursday, 5 January 2012, 11:02
Subject: Re: [rt-users] setting up approvals on RT 4.0.1
 

Thanks you for the reply

Best Regards



 From: Kevin Falcone falc...@bestpractical.com
To: rt-users@lists.bestpractical.com 
Sent: Tuesday, 3 January 2012, 23:34
Subject: Re: [rt-users] setting up approvals on RT 4.0.1
 
On Thu, Dec 29, 2011 at 08:04:15AM +, Asanka Gunasekera
 wrote:
    Hi All, I am trying to set up approvals on RT 4.0.1 and I am following
    http://requesttracker.wikia.com/wiki/ApprovalCreation
    but in this document it talks about copying scripts and templates from 
_Approval queue.
    I can only find 5 templates but there are no scripts

Those Scrips were replaced in about mid-3.8 with
RT::Approval::Rules::*.  You shouldn't need to copy them

Re: [rt-users] setting up approvals on RT 4.0.1

2012-02-13 Thread Asanka Gunasekera
Hi, I am sure some one would have got this working, is there any one who can 
give me some hand in this, though I can see the ticket created by looing up in 
the logs. Aprovals do not show up in approvals tab?

Thanks 




 From: Asanka Gunasekera asanka_gunasek...@yahoo.co.uk
To: Asanka Gunasekera asanka_gunasek...@yahoo.co.uk; 
rt-users@lists.bestpractical.com rt-users@lists.bestpractical.com 
Sent: Thursday, 19 January 2012, 9:58
Subject: Re: [rt-users] setting up approvals on RT 4.0.1
 

Hi I am stuck! any help can any one give on this




 From: Asanka Gunasekera asanka_gunasek...@yahoo.co.uk
To: Asanka Gunasekera asanka_gunasek...@yahoo.co.uk; 
rt-users@lists.bestpractical.com rt-users@lists.bestpractical.com 
Sent: Tuesday, 10 January 2012, 11:51
Subject: Re: [rt-users] setting up approvals on RT 4.0.1
 

Hi Can any one tell me what I am doing wrong??

Thanks and regards



 From: Asanka Gunasekera asanka_gunasek...@yahoo.co.uk
To: Asanka Gunasekera asanka_gunasek...@yahoo.co.uk; 
rt-users@lists.bestpractical.com rt-users@lists.bestpractical.com 
Sent: Thursday, 5 January 2012, 11:53
Subject: Re: [rt-users] setting up approvals on RT 4.0.1
 

Hi, the steps which I have taken while trying to setup Approvals as follows

1) Create queue PO-Qre
        a) Create template Create Approvals
        ===Create-Ticket: poreq         Subject: Approve purchase order for 
{$Tickets{'TOP'}-Subject}         Depended-On-By: TOP         Queue: 
Approvals-PO         Type: approval         Owner: username-of-owner   #note 
this is so that notifications work properly         Content: Someone has 
created a purchase requisition.  Please review and approve it, so they can 
spend some money.         ENDOFCONTENT
        b) Create the script Create PO-Req approval

        Description: Create PO Req approval         Condition: On Create        
 Action: Create Tickets         Template: Create Approval         Stage: 
TransactionCreate

    c)gave permission to the users who can create tickets under PO-Req

2) Create Approvals-PO queue

    d)Copy templates from _Approvals (or ran the script)
    e)Set the reply address to PO-Req
    f)Add the people as AddminCC who are to approve the ticlets
  
Now when I create a ticket under PO-Req, in the log it says it is creating 
ticket in Approvel-PO queue.
But I am unable to find the
 tickets
 in the DB or under Approvals tab

Can some one tell me what is going
 on!!!


Thanks and best Regards



 From: Asanka Gunasekera asanka_gunasek...@yahoo.co.uk
To: rt-users@lists.bestpractical.com rt-users@lists.bestpractical.com 
Sent: Thursday, 5 January 2012, 11:02
Subject: Re: [rt-users] setting up approvals on RT 4.0.1
 

Thanks you for the reply

Best Regards



 From: Kevin Falcone falc...@bestpractical.com
To: rt-users@lists.bestpractical.com 
Sent: Tuesday, 3 January 2012, 23:34
Subject: Re: [rt-users] setting up approvals on RT 4.0.1
 
On Thu, Dec 29, 2011 at 08:04:15AM +, Asanka Gunasekera
 wrote:
    Hi All, I am trying to set up approvals on RT 4.0.1 and I am following
    http://requesttracker.wikia.com/wiki/ApprovalCreation
    but in this document it talks about copying scripts and templates from 
_Approval queue.
    I can only find 5 templates but there are no scripts

Those Scrips were replaced in about mid-3.8 with
RT::Approval::Rules::*.  You shouldn't need to copy them anywhere in
order to use Approvals.  You'll want to modify the Templates as needed
and set up your CreateTickets scrip to actually create the Approvals
tickets.

-kevin


RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston —
 March 5  6, 2012



RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5  6, 2012
RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5  6, 2012

Re: [rt-users] setting up approvals on RT 4.0.1

2012-02-13 Thread Asanka Gunasekera
Hi I found why the tickets are not visible in the approvals tab. when a ticket 
is created for approvals the owner is nobody rather than the person who is 
approving the ticket.

Now can some one tell me what I am doing wrong, below is my template 

===Create-Ticket: poreq
Subject: Approve purchase order for {$Tickets{'TOP'}-Subject}
Depended-On-By: TOP
Queue: Approvals-PO
Type: approval
Owner: appro...@iil.informatics.lk #username-of-owner   #note this is so that 
notifications work properly
Content: Someone has created a purchase requisition.  Please review and approve 
it, so they can spend some money.
ENDOFCONTENT

Thanks and regards





 From: Asanka Gunasekera asanka_gunasek...@yahoo.co.uk
To: Asanka Gunasekera asanka_gunasek...@yahoo.co.uk; 
rt-users@lists.bestpractical.com rt-users@lists.bestpractical.com 
Sent: Monday, 13 February 2012, 16:28
Subject: Re: [rt-users] setting up approvals on RT 4.0.1
 

Hi, I am sure some one would have got this working, is there any one who can 
give me some hand in this, though I can see the ticket created by looing up in 
the logs. Aprovals do not show up in approvals tab?

Thanks 




 From: Asanka Gunasekera asanka_gunasek...@yahoo.co.uk
To: Asanka Gunasekera asanka_gunasek...@yahoo.co.uk; 
rt-users@lists.bestpractical.com rt-users@lists.bestpractical.com 
Sent: Thursday, 19 January 2012, 9:58
Subject: Re: [rt-users] setting up approvals on RT 4.0.1
 

Hi I am stuck! any help can any one give on this




 From: Asanka Gunasekera asanka_gunasek...@yahoo.co.uk
To: Asanka Gunasekera asanka_gunasek...@yahoo.co.uk; 
rt-users@lists.bestpractical.com rt-users@lists.bestpractical.com 
Sent: Tuesday, 10 January 2012, 11:51
Subject: Re: [rt-users] setting up approvals on RT 4.0.1
 

Hi Can any one tell me what I am doing wrong??

Thanks and regards



 From: Asanka Gunasekera asanka_gunasek...@yahoo.co.uk
To: Asanka Gunasekera asanka_gunasek...@yahoo.co.uk; 
rt-users@lists.bestpractical.com rt-users@lists.bestpractical.com 
Sent: Thursday, 5 January 2012, 11:53
Subject: Re: [rt-users] setting up approvals on RT 4.0.1
 

Hi, the steps which I have taken while trying to setup Approvals as follows

1) Create queue PO-Qre
        a) Create template Create Approvals
        ===Create-Ticket: poreq         Subject: Approve purchase order for 
{$Tickets{'TOP'}-Subject}         Depended-On-By: TOP         Queue: 
Approvals-PO         Type: approval         Owner: username-of-owner   #note 
this is so that notifications work properly         Content: Someone has 
created a purchase requisition.  Please review and approve it, so they can 
spend some money.         ENDOFCONTENT
        b) Create the script Create PO-Req approval

        Description: Create PO Req approval         Condition: On Create        
 Action: Create Tickets         Template: Create Approval         Stage: 
TransactionCreate

    c)gave permission to the users who can create tickets under PO-Req

2) Create Approvals-PO queue

    d)Copy templates from _Approvals (or ran the script)
    e)Set the reply address to PO-Req
    f)Add the people as AddminCC who are to approve the ticlets
  
Now when I create a ticket under PO-Req, in the log it says it is creating 
ticket in Approvel-PO queue.
But I am unable to find the
 tickets
 in the DB or under Approvals tab

Can some one tell me what is going
 on!!!


Thanks and best Regards



 From: Asanka Gunasekera asanka_gunasek...@yahoo.co.uk
To: rt-users@lists.bestpractical.com rt-users@lists.bestpractical.com 
Sent: Thursday, 5 January 2012, 11:02
Subject: Re: [rt-users] setting up approvals on RT 4.0.1
 

Thanks you for the reply

Best Regards



 From: Kevin Falcone falc...@bestpractical.com
To: rt-users@lists.bestpractical.com 
Sent: Tuesday, 3 January 2012, 23:34
Subject: Re: [rt-users] setting up approvals on RT 4.0.1
 
On Thu, Dec 29, 2011 at 08:04:15AM +, Asanka Gunasekera
 wrote:
    Hi All, I am trying to set up approvals on RT 4.0.1 and I am following
    http://requesttracker.wikia.com/wiki/ApprovalCreation
    but in this document it talks about copying scripts and templates from 
_Approval queue.
    I can only find 5 templates but there are no scripts

Those Scrips were replaced in about mid-3.8 with
RT::Approval::Rules::*.  You shouldn't need to copy them anywhere in
order to use Approvals.  You'll want to modify the Templates as needed
and set up your CreateTickets scrip to actually create the Approvals
tickets.

-kevin


RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston —
 March 5  6, 2012



RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5  6, 2012
RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5  6, 2012

Re: [rt-users] setting up approvals on RT 4.0.1

2012-02-13 Thread Thomas Sibley
On 02/13/2012 09:38 AM, Asanka Gunasekera wrote:
 Now can some one tell me what I am doing wrong, below is my template
 
 ===Create-Ticket: poreq
 Subject: Approve purchase order for {$Tickets{'TOP'}-Subject}
 Depended-On-By: TOP
 Queue: Approvals-PO

This _won't_ work.  You _need_ to use the ___Approvals queue.  (Kevin,
my coworker, told you this a while ago.)

 Type: approval
 Owner: appro...@iil.informatics.lk #username-of-owner   #note this is so
 that notifications work properly

Trailing comments like the above aren't supported, so RT is trying to
set the Owner to appro...@iil.informatics.lk #username-of-owner   #note
this is so that notifications work properly.  That doesn't work, as you
might imagine.

Thomas

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston  March 5  6, 2012


Re: [rt-users] setting up approvals on RT 4.0.1

2012-01-18 Thread Asanka Gunasekera
Hi I am stuck! any help can any one give on this




 From: Asanka Gunasekera asanka_gunasek...@yahoo.co.uk
To: Asanka Gunasekera asanka_gunasek...@yahoo.co.uk; 
rt-users@lists.bestpractical.com rt-users@lists.bestpractical.com 
Sent: Tuesday, 10 January 2012, 11:51
Subject: Re: [rt-users] setting up approvals on RT 4.0.1
 

Hi Can any one tell me what I am doing wrong??

Thanks and regards



 From: Asanka Gunasekera asanka_gunasek...@yahoo.co.uk
To: Asanka Gunasekera asanka_gunasek...@yahoo.co.uk; 
rt-users@lists.bestpractical.com rt-users@lists.bestpractical.com 
Sent: Thursday, 5 January 2012, 11:53
Subject: Re: [rt-users] setting up approvals on RT 4.0.1
 

Hi, the steps which I have taken while trying to setup Approvals as follows

1) Create queue PO-Qre
        a) Create template Create Approvals
        ===Create-Ticket: poreq         Subject: Approve purchase order for 
{$Tickets{'TOP'}-Subject}         Depended-On-By: TOP         Queue: 
Approvals-PO         Type: approval         Owner: username-of-owner   #note 
this is so that notifications work properly         Content: Someone has 
created a purchase requisition.  Please review and approve it, so they can 
spend some money.         ENDOFCONTENT
        b) Create the script Create PO-Req approval

        Description: Create PO Req approval         Condition: On Create        
 Action: Create Tickets         Template: Create Approval         Stage: 
TransactionCreate

    c)gave permission to the users who can create tickets under PO-Req

2) Create Approvals-PO queue

    d)Copy templates from _Approvals (or ran the script)
    e)Set the reply address to PO-Req
    f)Add the people as AddminCC who are to approve the ticlets
  
Now when I create a ticket under PO-Req, in the log it says it is creating 
ticket in Approvel-PO queue.
But I am unable to find the tickets
 in the DB or under Approvals tab

Can some one tell me what is going
 on!!!


Thanks and best Regards



 From: Asanka Gunasekera asanka_gunasek...@yahoo.co.uk
To: rt-users@lists.bestpractical.com rt-users@lists.bestpractical.com 
Sent: Thursday, 5 January 2012, 11:02
Subject: Re: [rt-users] setting up approvals on RT 4.0.1
 

Thanks you for the reply

Best Regards



 From: Kevin Falcone falc...@bestpractical.com
To: rt-users@lists.bestpractical.com 
Sent: Tuesday, 3 January 2012, 23:34
Subject: Re: [rt-users] setting up approvals on RT 4.0.1
 
On Thu, Dec 29, 2011 at 08:04:15AM +, Asanka Gunasekera
 wrote:
    Hi All, I am trying to set up approvals on RT 4.0.1 and I am following
    http://requesttracker.wikia.com/wiki/ApprovalCreation
    but in this document it talks about copying scripts and templates from 
_Approval queue.
    I can only find 5 templates but there are no scripts

Those Scrips were replaced in about mid-3.8 with
RT::Approval::Rules::*.  You shouldn't need to copy them anywhere in
order to use Approvals.  You'll want to modify the Templates as needed
and set up your CreateTickets scrip to actually create the Approvals
tickets.

-kevin


RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston —
 March 5  6, 2012



RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5  6, 2012
RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5  6, 2012

Re: [rt-users] setting up approvals on RT 4.0.1

2012-01-10 Thread Thomas Sibley
On 01/10/2012 01:21 AM, Asanka Gunasekera wrote:
 Hi Can any one tell me what I am doing wrong??

Kevin told you what you're doing wrong 5 days ago.  Please read his
response.

Thomas

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston  March 5  6, 2012


Re: [rt-users] setting up approvals on RT 4.0.1

2012-01-09 Thread Asanka Gunasekera
Hi Can any one tell me what I am doing wrong??

Thanks and regards




 From: Asanka Gunasekera asanka_gunasek...@yahoo.co.uk
To: Asanka Gunasekera asanka_gunasek...@yahoo.co.uk; 
rt-users@lists.bestpractical.com rt-users@lists.bestpractical.com 
Sent: Thursday, 5 January 2012, 11:53
Subject: Re: [rt-users] setting up approvals on RT 4.0.1
 

Hi, the steps which I have taken while trying to setup Approvals as follows

1) Create queue PO-Qre
        a) Create template Create Approvals
        ===Create-Ticket: poreq         Subject: Approve purchase order for 
{$Tickets{'TOP'}-Subject}         Depended-On-By: TOP         Queue: 
Approvals-PO         Type: approval         Owner: username-of-owner   #note 
this is so that notifications work properly         Content: Someone has 
created a purchase requisition.  Please review and approve it, so they can 
spend some money.         ENDOFCONTENT
        b) Create the script Create PO-Req approval

        Description: Create PO Req approval         Condition: On Create        
 Action: Create Tickets         Template: Create Approval         Stage: 
TransactionCreate

    c)gave permission to the users who can create tickets under PO-Req

2) Create Approvals-PO queue

    d)Copy templates from _Approvals (or ran the script)
    e)Set the reply address to PO-Req
    f)Add the people as AddminCC who are to approve the ticlets
  
Now when I create a ticket under PO-Req, in the log it says it is creating 
ticket in Approvel-PO queue.
But I am unable to find the tickets in the DB or under Approvals tab

Can some one tell me what is going
 on!!!


Thanks and best Regards



 From: Asanka Gunasekera asanka_gunasek...@yahoo.co.uk
To: rt-users@lists.bestpractical.com rt-users@lists.bestpractical.com 
Sent: Thursday, 5 January 2012, 11:02
Subject: Re: [rt-users] setting up approvals on RT 4.0.1
 

Thanks you for the reply

Best Regards



 From: Kevin Falcone falc...@bestpractical.com
To: rt-users@lists.bestpractical.com 
Sent: Tuesday, 3 January 2012, 23:34
Subject: Re: [rt-users] setting up approvals on RT 4.0.1
 
On Thu, Dec 29, 2011 at 08:04:15AM +, Asanka Gunasekera
 wrote:
    Hi All, I am trying to set up approvals on RT 4.0.1 and I am following
    http://requesttracker.wikia.com/wiki/ApprovalCreation
    but in this document it talks about copying scripts and templates from 
_Approval queue.
    I can only find 5 templates but there are no scripts

Those Scrips were replaced in about mid-3.8 with
RT::Approval::Rules::*.  You shouldn't need to copy them anywhere in
order to use Approvals.  You'll want to modify the Templates as needed
and set up your CreateTickets scrip to actually create the Approvals
tickets.

-kevin


RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston —
 March 5  6, 2012



RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5  6, 2012
RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5  6, 2012

Re: [rt-users] setting up approvals on RT 4.0.1

2012-01-05 Thread Kevin Falcone
On Thu, Jan 05, 2012 at 06:23:56AM +, Asanka Gunasekera wrote:
Hi, the steps which I have taken while trying to setup Approvals as follows
1) Create queue PO-Qre
a) Create template Create Approvals
 
  ===Create-Ticket: poreq
  Subject: Approve purchase order for {$Tickets{'TOP'}-Subject}
  Depended-On-By: TOP
  Queue: Approvals-PO

Approvals tickets belong in the ___Approvals queue.

-kevin

  Type: approval
  Owner: username-of-owner   #note this is so that notifications work 
 properly
  Content: Someone has created a purchase requisition.  Please review 
 and approve it, so they can spend some money.
  ENDOFCONTENT
 
b) Create the script Create PO-Req approval
 
  Description: Create PO Req approval
  Condition: On Create
  Action: Create Tickets
  Template: Create Approval
  Stage: TransactionCreate
 
  c)gave permission to the users who can create tickets under PO-Req
 
  2) Create Approvals-PO queue
 
  d)Copy templates from _Approvals (or ran the script)
  e)Set the reply address to PO-Req
  f)Add the people as AddminCC who are to approve the ticlets
 
  Now when I create a ticket under PO-Req, in the log it says it is creating 
 ticket in Approvel-PO queue.
  But I am unable to find the tickets in the DB or under Approvals tab
 
  Can some one tell me what is going
   on!!!
 
  Thanks and best Regards
 

 --
 
From: Asanka Gunasekera asanka_gunasek...@yahoo.co.uk
To: rt-users@lists.bestpractical.com rt-users@lists.bestpractical.com
Sent: Thursday, 5 January 2012, 11:02
Subject: Re: [rt-users] setting up approvals on RT 4.0.1
Thanks you for the reply
Best Regards
 

 --
 
From: Kevin Falcone falc...@bestpractical.com
To: rt-users@lists.bestpractical.com
Sent: Tuesday, 3 January 2012, 23:34
Subject: Re: [rt-users] setting up approvals on RT 4.0.1
On Thu, Dec 29, 2011 at 08:04:15AM +, Asanka Gunasekera wrote:
Hi All, I am trying to set up approvals on RT 4.0.1 and I am following
[1]http://requesttracker.wikia.com/wiki/ApprovalCreation
but in this document it talks about copying scripts and templates 
 from _Approval queue.
I can only find 5 templates but there are no scripts
 
Those Scrips were replaced in about mid-3.8 with
RT::Approval::Rules::*.  You shouldn't need to copy them anywhere in
order to use Approvals.  You'll want to modify the Templates as needed
and set up your CreateTickets scrip to actually create the Approvals
tickets.
 
-kevin
 

RT Training Sessions ([2]http://bestpractical.com/services/training.html)
* Boston -- March 5  6, 2012
 

RT Training Sessions ([3]http://bestpractical.com/services/training.html)
* Boston -- March 5  6, 2012
 
 References
 
Visible links
1. http://requesttracker.wikia.com/wiki/ApprovalCreation
2. http://bestpractical.com/services/training.html
3. http://bestpractical.com/services/training.html

 
 RT Training Sessions (http://bestpractical.com/services/training.html)
 * Boston ? March 5  6, 2012



pgpDNORTR6tvV.pgp
Description: PGP signature

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5  6, 2012

Re: [rt-users] setting up approvals on RT 4.0.1

2012-01-04 Thread Asanka Gunasekera
Thanks you for the reply

Best Regards




 From: Kevin Falcone falc...@bestpractical.com
To: rt-users@lists.bestpractical.com 
Sent: Tuesday, 3 January 2012, 23:34
Subject: Re: [rt-users] setting up approvals on RT 4.0.1
 
On Thu, Dec 29, 2011 at 08:04:15AM +, Asanka Gunasekera wrote:
    Hi All, I am trying to set up approvals on RT 4.0.1 and I am following
    http://requesttracker.wikia.com/wiki/ApprovalCreation
    but in this document it talks about copying scripts and templates from 
_Approval queue.
    I can only find 5 templates but there are no scripts

Those Scrips were replaced in about mid-3.8 with
RT::Approval::Rules::*.  You shouldn't need to copy them anywhere in
order to use Approvals.  You'll want to modify the Templates as needed
and set up your CreateTickets scrip to actually create the Approvals
tickets.

-kevin


RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5  6, 2012
RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5  6, 2012

Re: [rt-users] setting up approvals on RT 4.0.1

2012-01-04 Thread Asanka Gunasekera
Hi, the steps which I have taken while trying to setup Approvals as follows

1) Create queue PO-Qre
        a) Create template Create Approvals
        ===Create-Ticket: poreq         Subject: Approve purchase order for 
{$Tickets{'TOP'}-Subject}         Depended-On-By: TOP         Queue: 
Approvals-PO         Type: approval         Owner: username-of-owner   #note 
this is so that notifications work properly         Content: Someone has 
created a purchase requisition.  Please review and approve it, so they can 
spend some money.         ENDOFCONTENT
        b) Create the script Create PO-Req approval

        Description: Create PO Req approval         Condition: On Create        
 Action: Create Tickets         Template: Create Approval         Stage: 
TransactionCreate

    c)gave permission to the users who can create tickets under PO-Req

2) Create Approvals-PO queue

    d)Copy templates from _Approvals (or ran the script)
    e)Set the reply address to PO-Req
    f)Add the people as AddminCC who are to approve the ticlets
  
Now when I create a ticket under PO-Req, in the log it says it is creating 
ticket in Approvel-PO queue.
But I am unable to find the tickets in the DB or under Approvals tab

Can some one tell me what is going on!!!


Thanks and best Regards



 From: Asanka Gunasekera asanka_gunasek...@yahoo.co.uk
To: rt-users@lists.bestpractical.com rt-users@lists.bestpractical.com 
Sent: Thursday, 5 January 2012, 11:02
Subject: Re: [rt-users] setting up approvals on RT 4.0.1
 

Thanks you for the reply

Best Regards



 From: Kevin Falcone falc...@bestpractical.com
To: rt-users@lists.bestpractical.com 
Sent: Tuesday, 3 January 2012, 23:34
Subject: Re: [rt-users] setting up approvals on RT 4.0.1
 
On Thu, Dec 29, 2011 at 08:04:15AM +, Asanka Gunasekera
 wrote:
    Hi All, I am trying to set up approvals on RT 4.0.1 and I am following
    http://requesttracker.wikia.com/wiki/ApprovalCreation
    but in this document it talks about copying scripts and templates from 
_Approval queue.
    I can only find 5 templates but there are no scripts

Those Scrips were replaced in about mid-3.8 with
RT::Approval::Rules::*.  You shouldn't need to copy them anywhere in
order to use Approvals.  You'll want to modify the Templates as needed
and set up your CreateTickets scrip to actually create the Approvals
tickets.

-kevin


RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5  6, 2012



RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5  6, 2012
RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5  6, 2012

Re: [rt-users] setting up approvals on RT 4.0.1

2012-01-03 Thread Kevin Falcone
On Thu, Dec 29, 2011 at 08:04:15AM +, Asanka Gunasekera wrote:
Hi All, I am trying to set up approvals on RT 4.0.1 and I am following
http://requesttracker.wikia.com/wiki/ApprovalCreation
but in this document it talks about copying scripts and templates from 
 _Approval queue.
I can only find 5 templates but there are no scripts

Those Scrips were replaced in about mid-3.8 with
RT::Approval::Rules::*.  You shouldn't need to copy them anywhere in
order to use Approvals.  You'll want to modify the Templates as needed
and set up your CreateTickets scrip to actually create the Approvals
tickets.

-kevin


pgpSp8GFlxf2y.pgp
Description: PGP signature

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5  6, 2012

Re: [rt-users] setting up approvals on RT 4.0.1

2012-01-02 Thread Asanka Gunasekera
Hi All, can any one give me a reason why there are no scripts belonging to 
_Approvals queue

Thanks and Regards




 From: Asanka Gunasekera asanka_gunasek...@yahoo.co.uk
To: Daniel Garcia Mejia dgar...@cesca.cat 
Cc: rt-users@lists.bestpractical.com rt-users@lists.bestpractical.com 
Sent: Friday, 30 December 2011, 9:35
Subject: Re: [rt-users] setting up approvals on RT 4.0.1
 

Hi Daniel, thanks for the reply

I am using Oracle as the database and under scrips I am unable to find any 
entry relating to the queue 2 (_approvals)

Thanks and Regards




 From: Daniel Garcia Mejia dgar...@cesca.cat
To: asanka_gunasek...@yahoo.co.uk 
Cc: rt-users@lists.bestpractical.com 
Sent: Thursday, 29 December 2011, 18:43
Subject: Re: [rt-users] setting up approvals on RT 4.0.1
 
Hi,

Scripts in '__Approval' queue are not visible, but you can't copy these scripts 
for another new approval queue that you create with MYSQL. Insert as 'root' 
user these following code:

insert into Scrips (Queue, Description, ScripCondition, ScripAction, 
ConditionRules, ActionRules, CustomIsApplicableCode,
CustomPrepareCode, CustomCommitCode, Stage, Template, Creator, Created, 
LastUpdatedBy, LastUpdated) select NEWQUEUENUM,
Description, ScripCondition, ScripAction, ConditionRules, ActionRules, 
CustomIsApplicableCode, CustomPrepareCode,
CustomCommitCode, Stage, Template, Creator, Created, LastUpdatedBy, LastUpdated 
from Scrips where Queue=2;

Where NEWQUEUENUM is the 'id' of the new Queue that you create.


Also, you can copy Templates
 of queue '__Approval'.

insert into Templates (Queue, Name, Description, Type, Language, TranslationOf, 
Content, LastUpdated, LastUpdatedBy, Creator,
Created) select NEWQUEUENUM, Name, Description, Type, Language, TranslationOf, 
Content, LastUpdated, LastUpdatedBy, Creator,
Created from Templates where Queue=2;


Where NEWQUEUENUM is the 'id' of the new Queue that you create.



With this, you can get a exact copy of '__Approval' queue.


Best regards,


Daniel



-- ...
        __
       / /       Daniel García Mejía
C E / S / C A   Portals i Repositoris
     /_/         Centre de Serveis Científics i Acadèmics de Catalunya

Gran Capità, 2-4 (Edifici Nexus) - 08034 Barcelona
T. (NULL) - F.  93 205 6979 - dgar...@cesca.cat
...





RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5  6, 2012
RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5  6, 2012

[rt-users] setting up approvals on RT 4.0.1

2011-12-29 Thread Asanka Gunasekera
Hi All, I am trying to set up approvals on RT 4.0.1 and I am following 
http://requesttracker.wikia.com/wiki/ApprovalCreation 

but in this document it talks about copying scripts and templates from 
_Approval queue. 


I can only find 5 templates but there are no scripts

Thanks and Regards

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5  6, 2012

Re: [rt-users] setting up approvals on RT 4.0.1

2011-12-29 Thread Daniel Garcia Mejia

Hi,

Scripts in '__Approval' queue are not visible, but you can't copy these 
scripts for another new approval queue that you create with MYSQL. 
Insert as 'root' user these following code:


insert into Scrips (Queue, Description, ScripCondition, ScripAction, 
ConditionRules, ActionRules, CustomIsApplicableCode,
CustomPrepareCode, CustomCommitCode, Stage, Template, Creator, Created, 
LastUpdatedBy, LastUpdated) select NEWQUEUENUM,
Description, ScripCondition, ScripAction, ConditionRules, ActionRules, 
CustomIsApplicableCode, CustomPrepareCode,
CustomCommitCode, Stage, Template, Creator, Created, LastUpdatedBy, LastUpdated 
from Scrips where Queue=2;

Where NEWQUEUENUM is the 'id' of the new Queue that you create.


Also, you can copy Templates of queue '__Approval'.

insert into Templates (Queue, Name, Description, Type, Language, TranslationOf, 
Content, LastUpdated, LastUpdatedBy, Creator,
Created) select NEWQUEUENUM, Name, Description, Type, Language, TranslationOf, 
Content, LastUpdated, LastUpdatedBy, Creator,
Created from Templates where Queue=2;


Where NEWQUEUENUM is the 'id' of the new Queue that you create.



With this, you can get a exact copy of '__Approval' queue.


Best regards,


Daniel



--
...
__
   / /   Daniel García Mejía
 C E / S / C A   Portals i Repositoris
 /_/ Centre de Serveis Científics i Acadèmics de Catalunya

 Gran Capità, 2-4 (Edifici Nexus) - 08034 Barcelona
 T. (NULL) - F.  93 205 6979 - dgar...@cesca.cat
...


RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston  March 5  6, 2012


Re: [rt-users] setting up approvals on RT 4.0.1

2011-12-29 Thread Asanka Gunasekera
Hi Daniel, thanks for the reply

I am using Oracle as the database and under scrips I am unable to find any 
entry relating to the queue 2 (_approvals)

Thanks and Regards




 From: Daniel Garcia Mejia dgar...@cesca.cat
To: asanka_gunasek...@yahoo.co.uk 
Cc: rt-users@lists.bestpractical.com 
Sent: Thursday, 29 December 2011, 18:43
Subject: Re: [rt-users] setting up approvals on RT 4.0.1
 
Hi,

Scripts in '__Approval' queue are not visible, but you can't copy these scripts 
for another new approval queue that you create with MYSQL. Insert as 'root' 
user these following code:

insert into Scrips (Queue, Description, ScripCondition, ScripAction, 
ConditionRules, ActionRules, CustomIsApplicableCode,
CustomPrepareCode, CustomCommitCode, Stage, Template, Creator, Created, 
LastUpdatedBy, LastUpdated) select NEWQUEUENUM,
Description, ScripCondition, ScripAction, ConditionRules, ActionRules, 
CustomIsApplicableCode, CustomPrepareCode,
CustomCommitCode, Stage, Template, Creator, Created, LastUpdatedBy, LastUpdated 
from Scrips where Queue=2;

Where NEWQUEUENUM is the 'id' of the new Queue that you create.


Also, you can copy Templates of queue '__Approval'.

insert into Templates (Queue, Name, Description, Type, Language, TranslationOf, 
Content, LastUpdated, LastUpdatedBy, Creator,
Created) select NEWQUEUENUM, Name, Description, Type, Language, TranslationOf, 
Content, LastUpdated, LastUpdatedBy, Creator,
Created from Templates where Queue=2;


Where NEWQUEUENUM is the 'id' of the new Queue that you create.



With this, you can get a exact copy of '__Approval' queue.


Best regards,


Daniel



-- ...
        __
       / /       Daniel García Mejía
C E / S / C A   Portals i Repositoris
     /_/         Centre de Serveis Científics i Acadèmics de Catalunya

Gran Capità, 2-4 (Edifici Nexus) - 08034 Barcelona
T. (NULL) - F.  93 205 6979 - dgar...@cesca.cat
...
RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5  6, 2012