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 have 4 tasks which generates individual xlsx files. These 4 tasks added in one scheduler and distributed through email, works fine. But I have to upload the xlsx files in Report Library, where the schedule accepts only one task. So I have created 4 individual schedule for each tasks, each schedule is working fine individually. My requirement is to sequence (or) set up the dependency for each schedule now. I am using EDAMAIL to send out the notification on the 4th schedule. So 4th schedule has to trigger only all the 3 schedules are completed.
Any help on ideas to set up the sequence / dependency on the schedule would be greatly appreciated. Thanks in advance.This message has been edited. Last edited by: FP Mod Chuck,
Since I don't know the frequency of the execution and if I assume that they run once a day, the easiest way is to schedule them at different time : 5 minutes from each other... Assuming that 5 minutes gives enough time for each to complete prior to the next one execution.
But other solution may exist depending on execution frequency, or from another way to produce the 4 reports.
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
Anyone has ideas to sequence the schedules. The workaround is working fine but there are high chances that other schedule takes more time to upload the reports. There are more requirements coming on my way similar to this. Appreciate your help.
A common approach for this type of problem is to poll whether the other 3 files are available after uploading a file and only then fire off the procedure that combines them.
The one thing to look out for is that the jobs that write the other files may not have finished yet when the last job writes its file. You would end up in a situation where all files are ready, but none of the jobs can detect that - a race condition.
You could have a 5th job doing the polling every 5 minutes or so. That gives you better separation and prevents the race condition, but also an up-to 5 minute delay.
On a final note: Don't make the mistake of detecting that a file is ready by checking its existence. It may still be in the process of being written. An easy workaround is to write an "empty" file afterwards for detection purposes.
WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010 : Member of User Group Benelux :
What I would do is create FOCUS file. Give each report a unique id and make it the key. Create a Post Processing fex for each schedule that updates the file. This will write the appropriate record in the FOCUS file. Now, in the 4th schedule, have a pre-processing fex check for all 3 records. If they are there, run, if not, sleep for 5 minutes and check again.
In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
Posts: 975 | Location: Oklahoma City | Registered: October 27, 2006