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'm wondering. Is there a way to detect whether the fex is 'running' or 'running deferred'?
I'd like to include a fex at the end of every other fex that will send an email to the user when the procedure is done. But only when being "Run deferred".
Any clues?This message has been edited. Last edited by: Dave,
_____________________ WF: 8.0.0.9 > going 8.2.0.5
Posts: 668 | Location: Veghel, The Netherlands | Registered: February 16, 2010
Add the following to the Custom Settings of the WebFOCUS Administration Console:
<set> IBIMR_defer (pass)
You will now have a Dialogue Manager variable available in every executed fex. The value for a deferred execution will be "defer", the value for immediate execution will be blank.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
Running it live or deferred will no prevent the passing of the variable IBIMR_defer. Only thing is based on how it is being run either a blank or 'defer' will be passed.
<set>
commands in the config files will allow the varibales to be passed to the user session to be used in the fex. (pass) does it. Hopefully I am not confusing you here.
thanks Sashanka
WF 7.7.03/Windows/HTML,PDF,EXL POC/local Dev Studio 7.7.03 & 7.6.11
can only be placed in configuration files, it cannot be executed in program code.
This setting allows the passing of a system variable to the WebFOCUS program as a Dialogue Manager variable. Unfortunately, many system variables are NOT passed by default, e.g. MRE Domain, MRE Folder, MRE Base Directory, MRE User/Password, Server User/Password...
If you don't want to do this, then can use JavaScript to populate a different, non-system form variable from the value of the system variable &IBIMR_defer.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
The Config file does not set this value unless explicitly set in the custom settings. These system variables have a value based on how a fex is being run -- if a fex is run normally IBIMR_defer will have a blank, if it is run in deferred mode IBIMR_defer will have 'defer'.
This is how the WF client knows how to process the request. When you run the fex from the developer studio internally all it does is to call the WF servlet with appropriate parameters - so the system will know it is a deferred request when it sees a value of 'defer' for the param IBIMR_defer.
<set>
in the config file -- all it does is to globally set a value to the variable and when used along with (pass) it is passed to the WF procedure to be used as Francis said.
This is my understanding of the system.Hopefully I am making some sense here.
thanks Sashanka
WF 7.7.03/Windows/HTML,PDF,EXL POC/local Dev Studio 7.7.03 & 7.6.11