As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
I'd like to learn how to set up Alerts... I referenced the BI Portal v8.2.2 PDF (https://webfocusinfocenter.informationbuilders.com/wfappent/pdfs2/wfbiportal.pdf) on how to do so, and I started by creating my Alert Test file in InfoAssist. The code for my Test file is as follows:
ENGINE INT CACHE SET ON SET PAGE-NUM=NOLEAD SET SQUEEZE=ON -DEFAULTH &WF_HTMLENCODE=ON; SET HTMLENCODE=&WF_HTMLENCODE
SET HTMLCSS=ON -DEFAULTH &WF_EMPTYREPORT=ON; SET EMPTYREPORT=&WF_EMPTYREPORT
-DEFAULTH &WF_SUMMARY='Summary'; -DEFAULTH &WF_TITLE='WebFOCUS Report'; TABLE FILE transmetric/vwrevdetail SUM VWREVDETAIL.VWREVDETAIL.TOTALREV BY VWREVDETAIL.VWREVDETAIL.PERIODENDING ON TABLE HOLD ON TABLE NOTOTAL ON TABLE SET CACHELINES 100 ON TABLE SET GRWIDTH 1 END
-RUN
When trying to run that, I get the following error message:
No output was returned Possible causes: - Output was directed to a destination such as a file or printer Detail: 0 NUMBER OF RECORDS IN TABLE= 187 LINES= 187 ACCESS LIMITED BY PASSWORD
I have Analyst access rights and am able to open and run this file outside of Alerts.This message has been edited. Last edited by: drewtollenaar,
Even with your limited access, it seems that the test file is working : it return 187 lines. Except if you're not supposed to be limited, all seems good to continue defining your Alert.
The goal of the Test file is to return a true/false condition to then have the Alert report performed or not. In your case the answer is "true" since it returned 187 lines. But you don't have any conditions or rules applied which may be missing into your Test file. Except if the "test" is to see if data exist in the source file otherwise you should include a condition that will make the result (-IF &LINES EQ 0) to true only when requested.
You need the -IF &LINES EQ 0 statement (and following steps) to have you Alert properly defined. See section "Reference: Alert Assist Sample Code Created With InfoAssist+" (page 237...) from referenced document of your post.
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013