Get Workflow Instance Id from the process property value!
As most of developer would know that there is no way in instance monitor view to identify the workflow instance for specific object id or process property value.
Siebel Product Configurator: How to restrict attribute length?
Debugging Siebel - Creatng custom logs using Clib.fputs
When it comes to debugging Siebel application, no one beats the Siebel vanilla logs (events logs governed by environmental variables), but every developer use his own techniques to debug his configuration.
In this post I am discussing the way I debug my things.
I add following piece of code at every event that I want to monitor, and add my required parameters to it, and then just compile all the objects and run the scenario.
var date = new Date();
var fp = Clib.fopen("d:\\log.txt","a");
Clib.fputs("\n" + " BCPreInvokeMethod" + " " + date,fp);
Clib.fclose(fp);
In above code first line creates a date object that give the timestamp that will be written in the log file. Second line creates a file pointer that opens file/creates file in write mode. In next line Clib.fputs function writes string to the file.
We can now simply alter string according to our requirement, and get the exact output.
This way i get exact view of events and parameters in a flat file, that makes it really easy to understand the actual problem. If you are trying this code then you will get output something like :
PreInvokeMethod SetAspectSun Aug 02 2009 01:52:19
PreInvokeMethod SetAspectSun Aug 02 2009 01:52:19
PreInvokeMethod SetDefaultDurationSun Aug 02 2009 01:52:19
PreCanInvokeMethod DeleteRecordSun Aug 02 2009 01:52:19
PreCanInvokeMethod ShowQueryAssistantSun Aug 02 2009 01:52:19
PreCanInvokeMethod ToggleListRowCountSun Aug 02 2009 01:52:19
PreCanInvokeMethod ExecuteQuerySun Aug 02 2009 01:52:19
PreCanInvokeMethod GotoNextSetSun Aug 02 2009 01:52:19
PreCanInvokeMethod GotoPreviousSetSun Aug 02 2009 01:52:19
PreCanInvokeMethod NewQuerySun Aug 02 2009 01:52:19
PreCanInvokeMethod NewRecordSun Aug 02 2009 01:52:19
PreCanInvokeMethod PositionOnRowSun Aug 02 2009 01:52:19
PreCanInvokeMethod UndoQuerySun Aug 02 2009 01:52:19
PreCanInvokeMethod UndoRecordSun Aug 02 2009 01:52:19
PreCanInvokeMethod WriteRecordSun Aug 02 2009 01:52:19
PreCanInvokeMethod ShowPopupSun Aug 02 2009 01:52:19
PreCanInvokeMethod GetBookmarkURLSun Aug 02 2009 01:52:19
PreCanInvokeMethod FileSendMailSun Aug 02 2009 01:52:19
PreCanInvokeMethod FileSendFaxSun Aug 02 2009 01:52:19
PreCanInvokeMethod FileSendPageSun Aug 02 2009 01:52:19
It can be really helpful if you working on a new siebel application and doesn't know how things work.
Although it takes longer time to get the output, but it really helps when all other options fails.
Siebel Shortcuts!
Similarly for Web client we can have similat auto login. This way you can create mulple icons for multple dbf's .. These icons when clicked will take direclty tools or web client without any need to log in.
Usually most of developer adds thin client URL in IE's favourites. We can also customise this URL to take us direclty to the aplication without showing the loging screen.
Browser Script on fly!
3.
Other Siebel Blogs
-
How to create cookies from server side? - Yes, you read it correctly, you can create cookies in the browser from the server side, and get your browser script to access them. This is enabled via Web...4 years ago
-
Use Open UI to Dynamiclly Manipulate Detail Tabs - In a screen with many view tabs it may be useful for process automation to minimize clicking on detail tabs if user does not need to navigate there when no...5 years ago
-
Oracle Database 12c In‐memory feature for Siebel Reporting and MIS Queries Optimization - Siebel database is optimized all DML are working fine with awesome performance but still we receive complaints when we fetch reports (few columns but fetch...7 years ago
-
Elastic List Applets @ IP 2015 - Before you start wondering, I have not accidentally written 2016 as 2015 in the title. If you are following the Siebel Updates then you would by now know t...8 years ago
-
Auto Fix the Product structure in Quote/Order Line Items - There are situations when due to some business requirements you make changes in the existing Products/Promotions (configured in Administration – Products s...8 years ago
-
Asynchronous Workflow With Real User Login - *Background* A common requirement amongst many Siebel customers, is to have the ability to run an asynchronous workflow under the real user's login. T...9 years ago
-
Change delimiter in MS Excel on Windows 7 - Hi guyz, This post is not related to Siebel. So, if you are not interested, please feel free to walk off right now 😉 Data Migration is a very important as...9 years ago
-
Siebel Task UI (TBUI) - Lessons Learnt - Part 7 - This is my seventh article discussing lessons learnt during proof of concept of the new Siebel technology: Task UI (TBUI).13 years ago
-
-
-