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.
In my project there is a servlet call from the JSP page to the WF server. The report gets stored on a specified path using ON SAVE or ON HOLD. My question is how will the front end know when the execution is done. If WF takes a long time to execute the report, the front end can't check for existence of the file since it will already be created and only the byte size will increase. Anyway this can be done?
The easiest way is to write a check file after the report is complete and look for that and not at the report itself.
-* check for the existence of the check file and delete it if it exists !if exist c:\temp\checkfile.txt (del c:\temp\checkfile.txt) -RUN -* run the report FILEDEF CHECKFILE DISK c:\temp\checkfile.txt -RUN TABLE FILE CAR PRINT MODEL END -RUN -* write the check file -WRITE CHECKFILE report complete
You could also show the user a messagebox after the report is run? Please insert < at the beginning of the lines that require it, sorry for posting the code like this...
Btw, can you post html-code to this forum? If, how? Thanks for the info.
Regards, Mika
TABLE FILE CAR SUM SALES BY COUNTRY ON TABLE HOLD END -RUN -HTMLFORM BEGIN html> head> <script language="JavaScript"> function msg_box() { alert("Report output &LINES lines."); }
/head> body onLoad="msg_box();"> /body> /html> -HTMLFORM END
WebFOCUS 7.6.x PMF 5.2.x
Posts: 58 | Location: Sydney, Australia | Registered: April 22, 2005
To post HTML code that has the < character, please wrap the code with UBB tags "code" and "/code" at the beginning and at the end of the code [ replace the " " with [], please ).
Here is an example of how it will look like:
...
<html>
my code goes here ...
</html>
...
Hope it helps.
Cheers,
KerryThis message has been edited. Last edited by: Kerry,
Kerry Zhan Focal Point Moderator Information Builders, Inc.
Posts: 1948 | Location: New York | Registered: November 16, 2004
Typically, when you call a servlet, your calling action would wait for a response, thus confirming a complete execution (sort of). If you are using JSP, then maybe use the WF API to initiate the call, then your application server will wait for a response from the API call before rendering the JSP response. Therefore, the JSP will only complete it's response to the client when the execution is done.
"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott