הצגת רשומות עם תוויות Workflows. הצג את כל הרשומות
הצגת רשומות עם תוויות Workflows. הצג את כל הרשומות
יום רביעי, 24 ביולי 2013
Siebel Runtime Event and Workflow Process
In Siebel world, Runtime Event (RTE) and Workflow Process seems to be very good friends. Both understand each other pretty well. Whenever there is a need to implement any functionality on based of some trigger, these two friends comes hand in hand. I usually make use of both of them most of the time to make a good solution.
Few things to keep in mind when we use them for any requirement:
יום שני, 26 בספטמבר 2011
Error Workflow Process
The biggest difference between time and space is that time can't be resued. So better reuse the existing one in order to earn some time. Reusability is one the fundamental block of siebel. Be it configuration or scripting, siebel always advocate usage of existing ones. One to enrich this feature is "Error Process Name" property at the workflow level.
This property is used to specify the workflow process which should be executed whenever error occurs in the base workflow. One can create a generic workflow for error logging mechanism and can specify that workflow in the "Error Process Name" property. This workflow can act as universal exception handler for logging error across the multiple workflows.
One of the interesting features here is the passing process properties from the base workflow to the error workflow. It should be kept in mind in order to pass user defined process properties to the error workflow, we must redefine those process properties in the error workflow, giving the same name and type.
For eg, if one has to pass the name of the base workflow to error workflow, one has to define common process property in the original workflow and in the error workflow and then this user property in the base workflow should be populated with the name of base workflow.
so don't reinvent the wheel, just realign it....
Happy Configuration!!!
יום שני, 18 ביולי 2011
How to send email containing multiple child records data?
I am pretty sure you will find this post very interesting, if you ever get a requirement to send a email in HTML format and email should have the details of the child records(dynamic data) as well.XSLT (XSL Transformation) can do wonders for this kind of requirement where the basic idea is to get data in XML hierarchy from Siebel (which you can easily do via EAI Siebel Adapter and convert it into
יום רביעי, 13 ביולי 2011
Hidden Methods - UpdateRecord
Siebel is mysterious. Along with those magical user properties there exists hidden methods that can do wonders for you. It is a real Archimedes-Eureka-Feeling when we encounter any of these hidden methods in siebel.
Recently i was struggling with Update Siebel Operation Step in Workflow with some context issue till i found "UpdateRecord" hidden method for "Inbound E-mail Database Operations" business service. This method is not displayed in the available list of methods for this business service but however can be comprehensively used in the workflow (we can verify with Business service simulator).
Usage:
Business Service: Inbound E-mail Database Operations
Business Service Method: UpdateRecord
Method Argument:
BusComp - Name of the Business Component
BusObj - Name of the Business Object
Id - Row ID of the record to be updated
Field: FieldName1 - Value to be updated
Field: FieldName2 - Value to be updated
Field: FieldName3 - Value to be updatedיום רביעי, 29 ביוני 2011
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
Business Service Method:Invoke BC Method
Input Argument
BC Name : Servcie Request
MethodName: GetOldFieldValue
Param 0: Status
OutPut Argument
Type: Output Argument
Output Argument : Return Property Name
Property Name: OldStatus (input property set created for storing Older Value)
2 - Fetch New Value
Business Service Name: Workflow Utilities
Business Service Method: Echo
Input Argument
OutPut Argument
Type: Business component
Business component Name: Service Request
Business Component Field: Status
Property Name: NewStatus
3 - Create Activity
Business Service Name: Inbound E-mail Database Operations
Business Service Method: InsertRecord
Input Argument
BusComp : Action
BusObj: Service Request
Field: SR Id : Object Id
Field: Description: "Status has been Changed from" + [&OldStatus] + "to" + [&NewStatus]
Echo still remains one of the most mysterious yet powerful method. This workflow can be invoked via runtime event on Service Request buscomp.
Happy Auditing!!
יום שלישי, 21 ביוני 2011
50 Up!!
“Statistics are like a bikini. What they reveal is suggestive, but what they conceal is vital.” - Aaron
1 - Multiple Workflow Export
Repository: Name of the repository from where Workflow should be exported.For eg, "Siebel Repository"
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.
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"
SearchSpec: Search criteria to identify what all workflows should be exported.For eg, [Process Name] LIKE 'SR*' AND [Status] = 'Completed'
Once these parameters are modified simulate the workflow and check the export directory. This directory will house all the XML export files of the Workflows given in the searchspec. Once simulation is over check the "NumOffWF" parameter which will give us the count of workflows exported. The only glitch here is it doesn't list the name of workflow which has failed during export operation.
Multiple Workflow Deploy and Activate -
ImportFolder: This is the name of the directory where input files are housed.For eg, "D:\Workflow_Export"
Import this workflow in your tools where you want to import the extracted files. Modify following input process properties as per your need.
Repository: Name of the repository where workflows should be created.For eg, "Siebel Repository"
ProjectName: Name of the project to which all workflows will be associated.For eg, "Service Request Workflow"
SearchSpec: This searchpsec is used to filter out workflows we want to deploy.For eg, "[Process Name] Like 'SR*' AND [Status] = 'In Progress'"
ActivateSearchSpec: This searchspec is used to activate workflows.For eg, [Process Name] Like 'SR *' AND [Status] = 'Completed'
If you are looking only for multiple workflow activation and comprehensive error logging then one can visit vinay's World. Once again thanking all for your support and comments.
Once these parameters are modified simulate the workflow. "NumOffWF" parameter after each step will give the number of workflows which are processed. The only issue is it doesn't list name of workflows which has failed during the operation.
Happy Deployment!!
הירשם ל-
רשומות (Atom)