Want to get rid of Google Ads, click here.
+ Reply to Thread
Results 1 to 7 of 7

Thread: Sending an eventout record whenever a problem is closed

  1. #1
    Member kobear's Avatar
    Join Date
    Dec 2001
    Location
    Buffalo, New York - USA
    Posts
    83

    Default

    I posted this question on the newsgroup and got some lukewarm response. For some reason I am having problems with this....



    I want to have SC send a custom event (named "foo", for instance) to the eventout queue. This is so that I can pick it up with a VB application using SCAuto/SDK.



    How would I go about doing this? I assume that I would need to do the following:



    1) Register an event named "foo",

    2) Create an event map for "foo",

    3) Create a macro for whenever PM tickets are saved to call a RAD application

    4) Duh.... What next.



    What RAD application would I call to generate this event? And are the steps above the proper way to do this?



    Or - can I just save a record directly to the eventout table and have SCAuto pick it up????



    Thanks for your help.




  2. #2
    Administrator tommy's Avatar
    Join Date
    Nov 2001
    Location
    Copenhagen
    Posts
    4,272

    Default

    You should call the application axces.write with following parameters:



    record = $file

    name = foo (ie the name of the event to write)



    optional: string1 = ^ (the seperator character)



    Personally I call it from subroutines in format control. I have not tested this from a macro.

  3. #3
    Member kobear's Avatar
    Join Date
    Dec 2001
    Location
    Buffalo, New York - USA
    Posts
    83

    Default

    Do I need to register and map the event "foo" in this scenario? I am having problems doing that.



    I have read the Guide to Event Services, and like most Peregrine manuals, it is of limited value.



    Can you tell this is my first time with event services??


  4. #4
    Administrator tommy's Avatar
    Join Date
    Nov 2001
    Location
    Copenhagen
    Posts
    4,272

    Default

    No........Well Yes :grin:



    Don't worry I had the same problems. What I found was that certain global lists need to be updated when adding a new event. I just haven't figured out which one ???



    So what I usually do is goto globallist file, update all with an expiry date of yesterday, then I goto the schedule file and make sure that the background process LISTER is run. If this does not work I restart SC.



    You can test the axces application with an OOB event just to make sure everything works. Then You can worry about calling the correct event.

  5. #5
    Member kobear's Avatar
    Join Date
    Dec 2001
    Location
    Buffalo, New York - USA
    Posts
    83

    Default

    Yeah - actually in the meantime, I modified my subroutine to name = email, and that sent a record properly.



    I will have to play with it some more, but thanks for the help.



    I will post back with success or failure.

  6. #6
    Member kobear's Avatar
    Join Date
    Dec 2001
    Location
    Buffalo, New York - USA
    Posts
    83

    Default

    One of our other developers restarted the development system, and will wonders never cease.... The custom event now works.



    I guess that was the problem.



    Tommy - Thanks for all your help.

  7. #7
    Administrator tommy's Avatar
    Join Date
    Nov 2001
    Location
    Copenhagen
    Posts
    4,272

    Default

    Great, You just let me know if You can help you any further.



    I have worked with events for almost a year now. I am working on several projects to build a bridge between our SC and 2 suppliers helpdesk applications (1 SC and 1 Clarify). Whenever either we or the supplier opens a ticket or updates a ticket it is send across to the other system.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts