Determine a Defined Holiday
To return an output indicating whether a day is a defined holiday.
1. Navigate to Administration Sevice->All Exceptions and create Exceptions. Here you can define holidays in exception hours.
2. Navigate to Administration-Service->Schedules and create Schedule and Note row-id for that schedule. Here you can define working hours.
3. Navigate to Administration Business Service->Simulator. Specify following inputs.
1) Name : FS Holiday API Service
2) MethodName : IsHoliday
4. Navigate to input arguments and Specify following input arguments.
1) Date Time - any date and time, for which you want to check.
2) Calendar Id – Row Id of that particular schedule that you had noted during creation of schedule.
3) Time Zone - Time Zone of the Service Calendar.
Then Hit Run from the simulator applet.It will return the output argument Is Holiday as TRUE/FALSE depending on the Date Time.
Note : Always while giving the input arguments,please give the date as “MM/DD/YYYY” and time in 24 hr format.(e.g. 10/18/2008 18:01:00)
——————————————————————————————————————————————————————————————————–
FS Holiday API Service : IsHoliday Method
This method returns an output indicating whether a day is a defined holiday.
Usage
This method is called from the FS Holiday API Service. It returns Yes if the Working field is unchecked for the holiday definition of that day, or No if the Working field is checked.
Note: This article is posted by Shweta Ameta
Invoke BC Method
Scenario: If you want to call a BusComp method in Workflow, Siebel provides a Business Service which can be leveraged to achieve this requirement.
Business Service: Product Manipulation Toolkit Business Service Methods
Method to be invoked: Invoke BC Method
This is a generic method that allows one to invoke a Business Component-based method from Workflow. A Business Service method is invoked from a workflow by default. This method acts as a bridge to allow one to pass in the Business Component name and the method name, along with the parameters and return value required from Workflow to the Business Component specified.
Arguments
[in] A string to specify the name of Business Component on which you want to invoke its method. (Required)
[in] A string to specify the name of the method in the specified Business Component that you want to invoke. (Required)
[in] A string to pass in the first argument to the method. (Optional)
[in] A string to pass in the second argument to the method. (Optional)
[in] A string to pass in the third argument to the method. (Optional)
[in] A string to pass in the fourth argument to the method. (Optional)
[out] A string to pass out the output of the method. (Optional)