![]() |
Telelogic SYNERGY (steve huntington) | ![]() |
Topic Title: TB240 - ProcessEmailSubmitForms problem Topic Summary: TB240 - ProcessEmailSubmitForms problem Created On: 24-Jun-2005 14:58 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Hello, I had the same problem and I solved it by a query for the latest CRs that are in the 'entered' status. This query is submitted immetiately after the ProcessEmail API call and uses a relative time query 'entered in the last minute'. It may be refined by using a smaller time interval ('last X seconds') and filtering the enterer ($aUser) my $tmpstr = $csapi->ProcessEmailSubmitForms($aUser); my $columns = "problem_number|crstatus|problem_synopsis"; my $result = $csapi->QueryData($aUser, "Basic Summary", "(crstatus='entered') and (cvtype='problem') and (entry_date>time('-0:0:1:0'))", undef, undef, undef, $columns); # extract query data from $result ... Best regards, Joerg Aldinger | |
![]() |
|
When I do as in TB240, I can process my emails submission using the csapi.
I know from the logs when something is going wrong. because I'm using an eval block with if ($@) { print STDERR $@; } Now, I want to trace in a log the CR NUMBERS that has been created in my database when everything was summitted correctly. Something like 'submitted problem123' But the only message I have is "PT_DAEMON: Done".. This is not helpfull... Anybody got this done already ? Thanks; Ludo Edited: 27-Jun-2005 at 10:46 by ludovic michoux |
|
![]() |
|
![]() |
|
Hello,
I had the same problem and I solved it by a query for the latest CRs that are in the 'entered' status. This query is submitted immetiately after the ProcessEmail API call and uses a relative time query 'entered in the last minute'. It may be refined by using a smaller time interval ('last X seconds') and filtering the enterer ($aUser) my $tmpstr = $csapi->ProcessEmailSubmitForms($aUser); my $columns = "problem_number|crstatus|problem_synopsis"; my $result = $csapi->QueryData($aUser, "Basic Summary", "(crstatus='entered') and (cvtype='problem') and (entry_date>time('-0:0:1:0'))", undef, undef, undef, $columns); # extract query data from $result ... Best regards, Joerg Aldinger |
|
![]() |
Telelogic SYNERGY
» SYNERGY/Change
»
TB240 - ProcessEmailSubmitForms problem
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.