Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Run or Run Deferred

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Run or Run Deferred
 Login/Join
 
Master
posted
Hi all,

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, 2010Report This Post
Virtuoso
posted Hide Post
do you use resource analyser?
if so you might see some extra information in the logging fields.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
<JG>
posted
You can use a different profile for the DFM agents.

Just set a variable in that that you can test
 
Report This Post
Expert
posted Hide Post
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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Master
posted Hide Post
Thanks all, so far.

I like Francis' idea.

But help me out here a little. I'm just a report-developper, not an administrator Roll Eyes

From the documentation I understand what it is.
But how does this work? I mean, what will prevent this
<set>
to be executed when just using "run"?


_____________________
WF: 8.0.0.9 > going 8.2.0.5
 
Posts: 668 | Location: Veghel, The Netherlands | Registered: February 16, 2010Report This Post
Platinum Member
posted Hide Post
Hi,

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
 
Posts: 103 | Registered: June 12, 2009Report This Post
Expert
posted Hide Post
<set> IBIMR_defer (pass)
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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
Sashanka, I tested a deferred report and &IBIMR_defer is not passed unless the setting is added to the Custom Settings configuration file.


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Master
posted Hide Post
I still don't get it.

I know it's a config file setting.
And when the fex is run it's available for the dialog manager.

But what is the difference between "run" and "run deferred" that makes this config file decide whether to set or not set this variable?

I've have the exact same fex.


_____________________
WF: 8.0.0.9 > going 8.2.0.5
 
Posts: 668 | Location: Veghel, The Netherlands | Registered: February 16, 2010Report This Post
Platinum Member
posted Hide Post
Hi,

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
 
Posts: 103 | Registered: June 12, 2009Report This Post
Master
posted Hide Post
Ah,
the dark-arts-teacher...

Yo, got it now.
It's not setting a variable, it's telling the server to make it available for the DM.

I wonder what other kind of wonderful and useful information is kept behind...
...and why is it default to -not- pass them.

Thanks all.


_____________________
WF: 8.0.0.9 > going 8.2.0.5
 
Posts: 668 | Location: Veghel, The Netherlands | Registered: February 16, 2010Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Run or Run Deferred

Copyright © 1996-2020 Information Builders