Title: Smart Notification
Description: Infoset Error
billw - February 20, 2007 08:13 PM (GMT)
Is there a way to stop a Smart Notification from processing if there is an error in the infoset? My SN gets data from several infosets. But, if there is an error, the SN still processes. Whatever infosets have data will be displayed. I would like to stop generation if there are any errors whatsoever.
Thanks for your help.
Bill
mnye - February 20, 2007 08:19 PM (GMT)
The way I would probably handle this would be in an exterenal program. Depending on your preference you could use any object oriented language and probably most scripting languages. First run all the Update urls one by one checking the status. Checking the status will be the most difficult part. You may have to query the SN repository for this. Then, if all updates are successful, run the process urls. What Im not sure of is, which InfoSet deteremines whether the note is burst or not, so it will take some trial and error.
hth,
matt
billw - February 21, 2007 03:07 PM (GMT)
Thanks Matt.
I dug around all the User Guides I could find, and couldn't find a way to make this happen from within Lawson. This is the only way that seems to have a chance to work. Maybe some future release...
I appreciate the input.
Bill
mnye - February 21, 2007 06:45 PM (GMT)
you could always put in an inhancement request....
:banghead:
perhaps a quicker solution would be to see if there is some way to combine the infosets youre using for the notification into one. That way if it fails on Update it cant be processed (i think).
matt
billw - February 21, 2007 09:03 PM (GMT)
I like the smilie...I just filed an enhancement request (at the suggestion of Lawson support) for an issue I know is a bug in Smart Notes. That pretty well sums it up.
I will give the combined infoset idea try and let you know what happens. I also posted a similar message on the Lawson Community site, and got a response that suggested using Trivoli Workload Scheduler. I haven't had a chance to look at that yet, but it sounds like you can do something similar to what you suggested in your first post.
Thanks.
Bill
mnye - February 21, 2007 09:25 PM (GMT)
| QUOTE (billw @ Feb 21 2007, 01:03 PM) |
| I just filed an enhancement request (at the suggestion of Lawson support) for an issue I know is a bug in Smart Notes. |
just out of curiousity, what was the bug/enhancement request?
billw - February 21, 2007 10:08 PM (GMT)
I submitted an enhancement to have the printed version of the SN look the same as the screen version. Basically, I have conditional formatting in the grid of the SN. There are red backgrounds on the negative values. But, when you print the SN, no conditional formatting appears. Just a white background. If you have any colored backgrounds, they will print white only. This feature is only present in the grid. The chart works ok.
This issue is nothing critical, but I know I will have many users asking me why the conditional formatting didn't print. We are not currently live, just testing some of the features of LBI. I believe we will use the print option quite a bit.
Bill
mnye - February 22, 2007 12:55 AM (GMT)
are you bursting your notifications to printers set up as devices or are your end users the ones printing them out manually?
billw - February 22, 2007 02:07 PM (GMT)
I have just printed them manually.
mnye - February 22, 2007 05:02 PM (GMT)
open one up like you do to print them, and select "View Source" or "Source" from the View menu in IE. A notepad with html code will come up. Search for the value in one of the cells that has a color. It will look something like this:
<td class="dataRightBad" bgcolor="white" >35.20</td>
or
<td class="notificationContentRight" bgcolor="white" >6,556.00</td>
or
<td class="notificationContentLeft" bgcolor="white" >700000</td>
where 35.20, 6,556.00 or 700000 are the values of the cell.
what value is in the bgcolor property?
billw - February 22, 2007 06:32 PM (GMT)
Sorry Matt, I had Smart Notes on the brain yesterday. My enhancement request was with Scorecard, not Smart Notes. I guess I needed more caffeine...
I don't believe I can view source on a SC.
Sorry for leading you down the wrong path...
Bill
mnye - February 22, 2007 06:50 PM (GMT)
no worries. smartnotes is my favorite companent in the suite, so i like to get as much info as possible.
if you implement something to handle the errors, post back the solution.
matt