רשומות

מציג פוסטים מתאריך יוני, 2011

How to send Email in HTML Format?

If you get a requirement to send an email from Siebel, the very simple way is to make use of OOB business service, i.e "Outbound Communications Manager" with the method "SendMessage". Following input parameters would be enough for this purpose: a) MsgToList b) MsgSubject c) MsgBody d) CommProfile Here below is the working example for the same: var inp = TheApplication().NewPropertySet();

Old Value - New Value

תמונה
The requirement of auditing the value changes in key fields is one of the common requirements. One can use audit trail or resort to activities for maintaining log. We also faced the same requirement of capturing the Old Value-New value pair in activities, whenever status of Service Request is changed. There are multiple script less solution available for this. But the one which excited us was the introduction of "GetOldFieldValue" method of buscomp. As per bookshelf "This method can be called by using a script in the PreWriteRecord event to retrieve an old field value if needed. This method takes an input parameter, which must be a valid field name, and returns a string containing the old field value." Primarily this method is used for EBC's but one can use this method for any buscomp with effective use. We created a workflow which is used to read older value and new value and then create activity. 1 - Fetch Old Value Business Service Name: SIS OM PMT Service Bu

50 Up!!

“Statistics are like a bikini. What they reveal is suggestive, but what they conceal is vital.” - Aaron As i write my 50th post, it feels good to be quantum of blogosphere. Here we will discuss one of my favorite topic " Workflows ". A lot has been suggested about activating multiple workflows but vital thing in this post is importing/exporting multiple workflows from one repository to another and deploying and activating them in one go. I have posted two workflows here. One is for multiple export of workflows and other is to import and activate the exported workflows. One can download from below links. 1 - Multiple Workflow Export 2 - Multiple Workflow Deploy and Activate Usage: Multiple Workflow Export - Import this workflow in your tools. Modify following input process properties as per your need. ExportFolder : This is the name of the directory where you want to keep the export of XML files.For eg, "D:\Workflow_Export" Repository : Name of the repository from w

AM for life

תמונה
It can be real pain for users to sit and assign requests manually when loads of requests are bombarding system at regular intervals. For them Assignment Manager(AM) comes as boon. One can leverage AM features to ease out assignment overhead either in batch mode or in dynamic mode. For those who still want to assign request manually we have interactive feature available. In this post i am going to primarily discuss dynamic assignment, comparison methods available and components involved. Dynamic assignment primarily performs assignments of records automatically as users and server programs create records or modify existing records. It makes use of database triggers for assignment of request. Well written rules can help us win half the battle of assignment. The Most interesting part while defining the rules is the usage of comparison method. This defines how attributes should be compared and candidate should be evaluated. There are 5 methods available . 1 - Compare to Object This compari

JMS Messaging Configuration

"If everything else fails, try Java" . Going by the notion it is imminent for siebel to support Java business services. Being inherently generous, Siebel also extends its support to send and receive messages by way of JMS servers. I found a doucment which beautifully explains configuring JMS messaging using AQ between Siebel and Oracle SOA suite. This can be downloaded from below link: JMS Messaging Service All said and done Siebel Bookshelf still remains mother of all documentation but for a quick refresh or basic orientation this guide is worth a look.

S_SRM_TASK_HIST Table

One of my admin friend once told me that the problem with troubleshooting is that trouble shoots back. In my on going quest for controlling multiple Login-Logout sessions in Directory authentication environment i landed up in situation where we required to know the list of naughty users who are working in multiple sessions. Instead of shooting back to admin friend i thought lets-hit-google and really found something worth sharing. Issue: We set Flag on Login and unset the same on Logout in order to determine availability for assignment purpose. In multiple login/logout scenario this approach fails. We have to maintain the exact status of Employee in order for correct assignments. Solution: This could be accomplished in two ways. First option is, We can have batch script which executes command to list the number of sessions currently logged in each application server. List Active sessions for comp PsCcObjMgr_enu show SV_NAME,CC_ALIAS,OM_LOGIN Above command will list the active sessions.