Skip to main content

Posts

Showing posts from April, 2022

How to set Python Interpreter in Visual Studio Code on Windows

First you need Python Project Virtual Environment Path: Open Command Prompt and navigate to Python Project folder by using below cd C:\Users\Atif\Django\ProjectFolder Now type " pipenv --venv " and press Enter.  CMD will return it's Virtual Environment Path (like:  C:\Users\Atif\.virtualenvs\ProjectFolder-TwJ6wRTs), select and copy you will need this in next section. Add \Scripts\python.exe at the last of the above Path which should be look like below now: C:\Users\Atif\.virtualenvs\ProjectFolder-TwJ6wRTs\Scripts\python.exe Now to main part of this article. Start the " Visual Studio Code " application. Open the Python project. Now from the Menu of "Visual Studio Code" click on " View " and from Sub Menu select " Command Palette.. Ctrl+Shift+P ". A new search bar will be available, type " Python Interpreter " and from below drop down select. A new pick folder path bar will be available here you need to paste the python vir...

How to send Email with attachment in Siebel Workflow

Design the workflow. Add new Business Process step on workflow canvas. Add below Business Service Name and Method. Business Service Name: Outbound Communications Manager Business Service Method: SendMessage Now go to " Multi Value Property Window " and Input Arguments and set the arguments as below. AttachFileList > Attachment File path (C:\Siebel\xx.0.0.0.0\ses\siebsrvr\temp\S-WEB-APP_8364_9620_0_Attachment Name.pdf) CommProfile > Communication Profile Name through which Siebel will send the Email MsgBody > Email Body MsgSubject > Email Subject MsgToList > Destination Email (t@t.com; a@a.com) Save the workflow deploy and test. If you need to add attachment from Siebel Contact, Service Request or Case attachment please check the below article: How to get Siebel attachment as file in Workflow If you don't know how to configure or find the working " CommProfile " parameter value please check the below article: Setting up Communication Profil...

How to get Siebel attachment as file in Workflow

You might need to extract a specific file from Siebel Attachments or want to attach that file in Email as attachment. To achieve that Siebel provide a vanilla business service which will get file and return its path. Prepare the workflow and drag drop the Business Service step on workflow canvas. Open properties and set the as below: Business Service Name: FINS Industry BC Facility Service Business Service Method: GetFile Now go to " Multi Value Property Window " and add the below Input Arguments : AttachmentId > Row Id of specific attachment which you want to get as file. BusObjName > Business Object name in which Attachment Business Component is present. FileBusCompName > Attachment Business Component Name. FileNameField > Attachment Name Field. If you are not sure which field is in your case, query " FILE_NAME " in Business Component Column and use that Field Name which query will return. RootBusCompName > If Attachment Business Component is...

Setting up Communication Profile for Sending Email from Siebel

For setting up Communication profile you need Sender Address, SMTP Server IP and Port. Setting up Profile is pretty simple just follow below steps: Login the application. Go to site map by click on sitemap icon or pressing Ctrl + Shift + a. Search for " Communication Drivers and Profiles " which is sub child of " Administration - Communication ". In " Communications Drivers " applet find " Internet SMTP/POP3 Server " record and select. Scroll down to " Profiles " applet. Create New Record and set the appropriate name. Now scroll down to " Profile Parameter Overrides " applet and create new records with these parameters: From Address LogDebug SMTP Server SMTP Server Port If there are existing Profiles you might see an additional parameter " Siebel Server ". Its values is usually is gateway server name or IP but if you are not sure don't add this, Siebel will auto define when this profile is called. If you defined ...

How to check Communications Outbound Manager jobs status SQL

When using " Communications Outbound Manager " business service Siebel create a job record in " S_SRM_REQUEST " table. You can easily check the status of these jobs by using below query which is written for MS SQL Manager Studio. SELECT STATUS ,CREATED,ROW_ID,DESC_TEXT,ENTERPRISE_NAME,EXEC_SRVR_NAME,PARAM_VAL,RESP_TEXT,COMPLETION_TEXT FROM S_SRM_REQUEST WHERE 1=1 AND DATEPART ( YEAR ,CREATED) = '2022' AND DATEPART ( MONTH ,CREATED) = '04' AND DATEPART ( DAY ,CREATED) = '06' AND ( PARAM_VAL LIKE '%SendMessage%' OR PARAM_VAL LIKE '%CreateRequest%' ) ORDER BY CREATED DESC

How to increase Log Level of a Siebel Component

Login the application. Go to site map by click on sitemap icon or pressing Ctrl + Shift + a. Search for " Administration - Server Configuration " and go to " Servers " view. In "Siebel Servers" there might be one or more servers and you need to increase the component logs for all servers as you might be using load balancing URL and don't know when you login the application and which server you might redirected to. Now go to " Assigned Components " applet and query the specific component for which you want to increase the logs (e.g. "Communications Outbound Manager", "Public Sector Object Manager (ENU)"). Now scroll down to " Component Event Configuration " applet and select any record and press Ctrl + a for selecting all records in that applet.   From the Application Menu click on " Edit " and select " Change Records.. ". In new popup applet select " Log Level " in Field and set ...