Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
API, SDK, REST and Web Services
New notification developement and Agents within builder
Janusz_Frydecki
I'm trying to develop a new notification for the task object: inform owner of the task (not assignee) when the task is modified.1- Anyone has done this yet?2- Is it normal that the agents don't run while I'm in builder3- What are the steps of creating a notification?From what I figured out so far, I could create a new Trigger in my Oracle database to write an event to the NotifyEvents table and orphan LLNotify Objects/EventHandlers but I can't test this in builder and most of all, I don'T know if it's the "recommended way" of doing it.I called OT support but they told me that I don't have the right level of SDK support for this question. Do you think it is normal for a company providing an SDK no neither document nor explain the objects available to development? Do you think it is acceptable, as developpers using SDK/builder to have our application break on almost every new version because of methods' signature changing or simply objects disappearing? I would appreciate your comments on this too. Maybe I'm only too new to LL development! ;)Thank you!
Find more posts tagged with
Comments
eLink User
Message from Nair, Krishnankutty N. via eLinkIn Old livelink to test your agent with builder you would do thisTo test with builder... - In opentext.ini set/add the following:[options]RunWithoutLogin=TRUE - In the browser type the following URL:
http://......./livelink.exe?func=notify.runagent
http://localhost/livelink/livelink.exe?func=notify.runagent&agent_list={'9883'}The
second argument is the way to tell livelink not to run alloutstanding agents and just your agent in this case I had an agent withan id 9883In new livelink you would do the same but do - In the browser type the following URL:
http://......./livelink.exe?func=agent.runagent
http://localhost/livelink/livelink.exe?func=agent.runagent&agent_list={'9883'}Theoretically
if you look a the the notification process PPT we postedsometime back that will tell you how agents and notify work.I have notdone new notifications but have done a few agents here and there andhence I know this works in builder.In fact the next time plays animportant role in that too.I always have problems with my agents itworks in builder and not in llserver.Most of the times I set afuturistic time on the next run and it seemed to fix it. -----Original Message-----From: eLink Discussion: Development Discussion[mailto:development@elinkkc.opentext.com] Sent: Wednesday, December 14, 2005 3:27 PMTo: eLink RecipientSubject: New notification developement and Agents within builderNew notification developement and Agents within builderPosted by Paradis, Diane on 12/14/2005 04:23 PMI'm trying to develop a new notification for the task object: informowner of the task (not assignee) when the task is modified.1- Anyone has done this yet?2- Is it normal that the agents don't run while I'm in builder3- What are the steps of creating a notification?>From what I figured out so far, I could create a new Trigger in myOracle database to write an event to the NotifyEvents table and orphanLLNotify Objects/EventHandlers but I can't test this in builder and mostof all, I don'T know if it's the "recommended way" of doing it.I called OT support but they told me that I don't have the right levelof SDK support for this question. Do you think it is normal for acompany providing an SDK no neither document nor explain the objectsavailable to development? Do you think it is acceptable, as developpersusing SDK/builder to have our application break on almost every newversion because of methods' signature changing or simply objectsdisappearing? I would appreciate your comments on this too. Maybe I'monly too new to LL development! ;)Thank you![To reply to this thread, use your normal E-mail reply function.]============================================================Discussion: Development Discussion
https://knowledge.opentext.com/knowledge/livelink.exe/open/786303Livelink
Server:
https://knowledge.opentext.com/knowledge/livelink.exeTo
Unsubscribe from this Discussion, send an e-mail tounsubscribe.development@elinkkc.opentext.com.
PVA_Livelink_Developer_(pva_pva_-_(deleted))
Message from Joe Lesh via eLinkIt is normal that agents don't run automatically in Builder. To run the agents manually:Enable notificationsAdd 'RunWithoutLogin=true' and 'EnableAgentsTestAll=true' to the optionssection of the opentext.iniLog in as an administrator and view the admin.index page (you need thepropers cookies set)Enter func=agent.runagent to run all the agents.Running all the agents at once helps to accurately model the productionof events into the proper tables before your agent runs.eLink has the best examples of how to set a new notification interestup, but basically, triggers are not the way to do it. Essentially, partof creating an agent is telling the notification system what types ofevents you are interested in (modified nodes), then, when your agentactually runs, you throw away any events that aren't interesting orapplicable to your business logic and send out email for the rest.As for the code changing, I think they do an 'OK' job at keeping thingsthe same and a 'not as ok' job of documenting the changes fordevelopers. At PVA we maintain around 15 modules and the main stuffwe've had to modify from 9.1 through 9.5 has been UI andpermissions/run-as-Admin code.Joe Leshjlesh@pvaglobal.com-----Original Message-----From: eLink Discussion: Development Discussion[mailto:development@elinkkc.opentext.com] Sent: Wednesday, December 14, 2005 4:27 PMTo: eLink RecipientSubject: New notification developement and Agents within builderNew notification developement and Agents within builderPosted by Paradis, Diane on 12/14/2005 04:23 PMI'm trying to develop a new notification for the task object: informowner of the task (not assignee) when the task is modified.1- Anyone has done this yet?2- Is it normal that the agents don't run while I'm in builder3- What are the steps of creating a notification?>From what I figured out so far, I could create a new Trigger in myOracle database to write an event to the NotifyEvents table and orphanLLNotify Objects/EventHandlers but I can't test this in builder and mostof all, I don'T know if it's the "recommended way" of doing it.I called OT support but they told me that I don't have the right levelof SDK support for this question. Do you think it is normal for acompany providing an SDK no neither document nor explain the objectsavailable to development? Do you think it is acceptable, as developpersusing SDK/builder to have our application break on almost every newversion because of methods' signature changing or simply objectsdisappearing? I would appreciate your comments on this too. Maybe I'monly too new to LL development! ;)Thank you![To reply to this thread, use your normal E-mail reply function.]============================================================Discussion: Development Discussion
https://knowledge.opentext.com/knowledge/livelink.exe/open/786303Livelink
Server:
https://knowledge.opentext.com/knowledge/livelink.exeTo
Unsubscribe from this Discussion, send an e-mail tounsubscribe.development@elinkkc.opentext.com.
Janusz_Frydecki
If so, why are OT events generated by DB triggers?
PVA_Livelink_Developer_(pva_pva_-_(deleted))
Message from Joe Lesh via eLinkSorry, I should have been clearer. Triggers are one way to do it. Theother way is to rely on notification to split out the events that youare interested in so that your agent can consume them (see the ppt slidethat was previously posted). That assumes that you can use the standardnotification events to get at what you are looking for. IF the standardevents don't suffice, you'll have to write your own trigger. I do knowthat events are generated for a task given these conditions from thetrigger: ( :old.DateDue != :new.DateDue ) or ( :old.DateStarted !=:new.DateStarted ) or ( :old.Priority != :new.Priority ) or (:old.Status != :new.Status ) I'm not sure if that serves the businesslogic you're going for.If you want to do triggers based on your some very specific set ofcriteria, you can use triggers, but dump them to your own schema, notinto the notification tables. That way you can control the cleanupprocedures (important when you're trying to send email and the email isdown) and you can tailor the schema to improve performance of yourapplication. (batch emailing messages for example)Anyhow, these are just my opinions, it's been a while since I've writtenany agents ...Joe Leshjlesh@pvaglobal.com-----Original Message-----From: eLink Discussion: Development Discussion[mailto:development@elinkkc.opentext.com] Sent: Thursday, December 15, 2005 10:42 AMTo: eLink RecipientSubject: triggers are not the way to do it??triggers are not the way to do it??Posted by Paradis, Diane on 12/15/2005 10:41 AMIf so, why are OT events generated by DB triggers?[To reply to this thread, use your normal E-mail reply function.]============================================================Topic: New notification developement and Agents within builder
https://knowledge.opentext.com/knowledge/livelink.exe/open/4400799Discussion
: Development Discussion
https://knowledge.opentext.com/knowledge/livelink.exe/open/786303Livelink
Server:
https://knowledge.opentext.com/knowledge/livelink.exeTo
Unsubscribe from this Discussion, send an e-mail tounsubscribe.development@elinkkc.opentext.com.