Table 18. Siebel Actions, Functions, and Predicates in HaleyAuthority
|
|
|
|
Example Requires Importing These Objects: |
action |
add-currency-literal |
For derivation type of rules, add a currency literal as a derived value from rules. |
if an account's location contains "CA" then add 50000 in "USD" for the account
if an account's location contains "CA" then add 70000 in "USD" on today for the account
if an account's location contains "Germany" then add 700000 in "DEM" on 2006/03/01 for the account
|
Account BO Account BC
Location
|
action |
add-currency-value |
For derivation type of rules, add a currency value as a derived value from rules. |
If an account's name is not unknown then add the account's annual revenue for the account
|
Account BO Account BC
Annual Revenue
Name
|
action |
add-value |
For derivation type of rules, add a value as a derived value from rules. The value can be any non-currency value types that are supported. For a list of types supported by Object Importer, see Table 16. |
If an account's annual revenue is more than 1000000 in "USD" then add "Gold Account" for the account
|
Account BO Account BC
Annual Revenue
|
action |
invalidate-with-reason |
For validation type of rules, invalidate with reason |
If an account's location is unknown then invalidate the account with "Please provide a location for the account"
You can capture multiple rules violations with a single message statement with applicability statements for each type of violation.
|
Account BO Account BC
Location
|
action |
raise-error-text |
Raise an error and stop the rules execution |
If an account's name is unknown then raise an error as "Account should have a name"
|
Account BO Account BC
Name
|
action |
set-currency-field-value |
Set a Siebel business component field of type DTYPE_CURRENCY |
Set "Annual Revenue" of an account to the account's revenue
|
Account BO Account BC
Revenue
|
action |
set-currency-field-value-literal |
Set a Siebel business component field of type DTYPE_CURRENCY |
Set "Annual Revenue" of an account to 9000000 in "USD"
|
Account BO Account BC
|
action |
set-field-value |
Set a Siebel business component field of types other than DTYPE_CURRENCY |
If an account's location contains "US" then set "Description" of the account to "This account is in the US"
|
Account BO Account BC
Location
|
action |
set-profile-attribute |
Set a profile attribute |
Set profile attribute of "hobby" to "fishing"
|
Does not depend on any object import. |
action |
validate |
For validation type of rules, validate an entity |
If an account's name is not unknown and the account's location is not unknown then validate the account
|
Account BO Account BC
Name
Location
|
function |
currency-literal-divided-by-literal |
Arithmetic operation with currency values and currency literals |
if 100 in "USD" on 2005/03/01 divided by 100 in "USD" on 2006/03/01 is more than 1 then ...
|
Does not depend on any object import. |
function |
currency-literal-divided-by-number |
Arithmetic operation with currency values and currency literals |
If 100 in "EUR" divided by 10 is equal to 10 in "EUR" then ...
|
Does not depend on any object import. |
function |
currency-literal-divided-by-value |
Arithmetic operation with currency values and currency literals |
If 1000000 in "USD" divided by an account's annual revenue is more than 1 then ...
|
Account BO Account BC
Annual Revenue
|
function |
currency-literal-minus-literal |
Arithmetic operation with currency values and currency literals |
If 100 in "USD" on today minus 100 in "USD" on yesterday is equal to 0 in "USD" then ...
|
Does not depend on any object import. |
function |
currency-literal-minus-value |
Arithmetic operation with currency values and currency literals |
If 1000000 in "USD" minus an account's annual revenue is less than 0 in "USD" then ...
|
Account BO Account BC
Annual Revenue
|
function |
currency-literal-plus-literal |
Arithmetic operation with currency values and currency literals |
If 100 in "USD" plus 100 in "KRW" is more than 200 in "USD" then ...
|
Does not depend on any object import. |
function |
currency-literal-plus-value |
Arithmetic operation with currency values and currency literals |
If 1000000 in "USD" plus an account's annual revenue is more than the account's revenue then ...
|
Account BO Account BC
Annual Revenue
Revenue
|
function |
currency-literal-times-number |
Arithmetic operation with currency values and currency literals |
If 100000 in "USD" times 12 is less than an account's annual revenue then
|
Account BO Account BC
Annual Revenue
|
function |
currency-value-divided-by-literal |
Arithmetic operation with currency values and currency literals |
If an account's annual revenue divided by 1000000 in "USD" is more than 1 then ...
|
Account BO Account BC
Annual Revenue
|
function |
currency-value-divided-by-number |
Arithmetic operation with currency values and currency literals |
If an account's total potential volume divided by 12 is more than the account's revenue then ...
|
Account BO Account BC
Total Potential Volume
|
function |
currency-value-divided-by-value |
Arithmetic operation with currency values and currency literals |
Set "potential/current volume" of an account to the account's total potential volume divided by current volume
|
Account BO Account BC
Current Volume
Total Potential Volume
|
function |
currency-value-minus-literal |
Arithmetic operation with currency values and currency literals |
If an account's current volume minus 100000 in "USD" is at least the account's total potential volume then ...
|
Account BO Account BC
Current Volume
Total Potential Volume
|
function |
currency-value-minus-value |
Arithmetic operation with currency values and currency literals |
Add an account's total potential volume minus the account's current volume for the account
|
Account BO Account BC
Current Volume
Total Potential Volume
|
function |
currency-value-plus-literal |
Arithmetic operation with currency values and currency literals |
Set "Credit Auto Approval Limit" of an account to the account's credit auto approval limit plus 500000 in "USD"
|
Account BO Account BC
Credit Auto Approval Limit
|
function |
currency-value-plus-value |
Arithmetic operation with currency values and currency literals |
Add an account's credit used plus the account's credit available amount for the account
|
Account BO Account BC
Credit Used
Credit Auto Approval Limit
|
function |
currency-value-times-number |
Arithmetic operation with currency values and currency literals |
Set "Annual Revenue" of an account to the account's revenue times 12
|
Account BO Account BC
Revenue
|
function |
get-active-view-name |
Get the name of the current active view |
If active view name is "Account List View" then ...
|
Does not depend on any object import. |
function |
get-profile-attribute |
Get a profile attribute |
If profile attribute of "Hobby" is "Fishing" then ...
|
Does not depend on any object import. |
predicate |
currency-at-least |
Comparison predicate involving currency values and currency literals |
If an account's current volume is at least the account's total potential volume then ...
|
Account BO Account BC
Current Volume
Total Potential Volume
|
predicate |
currency-at-least-one-literal |
Comparison predicate involving currency values and currency literals |
If an account's revenue is at least 3000000 in "USD" then ...
|
Account BO Account BC
Revenue
|
predicate |
currency-at-least-two-literals |
Comparison predicate involving currency values and currency literals |
If 100 in "USD" is at least 100 in "EUR" then ...
|
Does not depend on any object import. |
predicate |
currency-at-most |
Comparison predicate involving currency values and currency literals |
If an account's current volume is at most the account's total potential volume then ...
|
Account BO Account BC
Current Volume
Total Potential Volume
|
predicate |
currency-at-most-one-literal |
Comparison predicate involving currency values and currency literals |
If an account's revenue is at most 3000000 in "USD" then ...
|
Account BO Account BC
Revenue
|
predicate |
currency-at-most-two-literals |
Comparison predicate involving currency values and currency literals |
If 100 in "USD" is at most 100 in "EUR" then ...
|
Does not depend on any object import. |
predicate |
currency-equal-to |
Comparison predicate involving currency values and currency literals |
If an account's current volume is equal to the account's total potential volume then ...
|
Account BO Account BC
Current Volume
Total Potential Volume
|
predicate |
currency-equal-to-one-literal |
Comparison predicate involving currency values and currency literals |
If an account's revenue is equal to 3000000 in "USD" then ...
|
Account BO Account BC
Revenue
|
predicate |
currency-equal-to-two-literals |
Comparison predicate involving currency values and currency literals |
If 100 in "USD" is equal to 100 in "EUR" then ...
|
Does not depend on any object import. |
predicate |
currency-less-than |
Comparison predicate involving currency values and currency literals |
If an account's current volume is less than the account's total potential volume then ...
|
Account BO Account BC
Current Volume
Total Potential Volume
|
predicate |
currency-less-than-one-literal |
Comparison predicate involving currency values and currency literals |
If an account's revenue is less than 3000000 in "USD" then ...
|
Account BO Account BC
Revenue
|
predicate |
currency-less-than-two-literals |
Comparison predicate involving currency values and currency literals |
If 100 in "USD" is less than 100 in "EUR" then ...
|
Does not depend on any object import. |
predicate |
currency-more-than |
Comparison predicate involving currency values and currency literals |
If an account's current volume is more than the account's total potential volume then ...
|
Account BO Account BC
Current Volume
Total Potential Volume
|
predicate |
currency-more-than-one-literal |
Comparison predicate involving currency values and currency literals |
If an account's revenue is more than 3000000 in "USD" then ...
|
Account BO Account BC
Revenue
|
predicate |
currency-more-than-two-literals |
Comparison predicate involving currency values and currency literals |
If 100 in "USD" is more than 100 in "EUR" then ...
|
Does not depend on any object import. |
predicate |
user-in-taskmode |
Test whether the user is in task mode |
If user is in task mode then ...
|
Does not depend on any object import. |