Friday, October 10, 2014

Reload Runtime Events Not Working

Siebel behaves weirdly. This is the statement that i think most of the people would agree to. And with experience, you will know a lot of things written in theory/bookshelf will not behave in the same way practically. Naming a few like activating a field, enabling a method etc. The list goes on and on and on.

Out of many one such instance i have faced recently, when i have created a runtime event and  the same was not reflecting, even when i have reloaded the RTE couple of times. 

Keep a note to beginners here that whenever you create or update a Runtime Event or its related Action Sets, you need to do Reload Runtime Events which is there in the Menu. This is required in the same way when you need to do a Clear Cache after creating or updating an LOV to get it reflected in the component.

Now as i said even after i have done the Reload RTE couple of times, when i was testing the RTE change was not reflecting. As part of the troubleshooting i have tried to launch a dedicated client, and to my surprise, RTE was getting reflected.

This discovery indicated that somehow the component is not taking the effect of newly created RTE. Now if you go with theory this should not be the case.

Resolution: Now i have witnessed this issue not once but twice. How to resolve it? Bounce the component and chances are more likely that issue will get resolve and RTE will be reflected in component.

For the benefit of the user, i have made a thumb rule, if something inexplicable happens in siebel, bounce the component if you could to avoid hours of frustration. Happy Learning !!!

OOTB BS for Clearing the LOV Cache

Many of us might be aware of this. But I thought it will be worth to share an undocumented OOTB Business Service for clearing the LOV Cache in Siebel.
So this could be helpful in automating the process of clearing the cache.
Details of this BS is as below:
BS: LOV Cache Clear Service
Methods: Activate

You can invoke this method and this does not require any input arguments which is logical as the function of this method is to clear LOV Cache.

This Business Service also have another method as 'RestoreActivate', use of which i am not aware of. Anyone who knows this are most welcome to enlighten us with the help of comment on this article.

Hope this little piece of information will be helpful. Keep Exploring !!!