- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2023 12:51 AM
Can anyone help me with the same.
I have an integer property having some value and need to call that in BR and if the value is greater then 2 the task should get created in the required table.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2023 12:58 AM
Hi,
You can call the property by gs.getProperty('Property_name') and save it in a variable
Regards,
Piyush Sain

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2023 01:02 AM
@Deepshi1 please use gs.getProperty('property name'); to fetch the value of a system property in business rule.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2023 01:05 AM
var systemProp = parseInt(gs.getProperty('some property name'));
if(systemProp>2){
//do something
}
else{
//Do something else.
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2023 12:58 AM
Hi,
You can call the property by gs.getProperty('Property_name') and save it in a variable
Regards,
Piyush Sain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2023 01:02 AM
Also need to check for property integer value.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2023 01:05 AM
var systemProp = parseInt(gs.getProperty('some property name'));
if(systemProp>2){
//do something
}
else{
//Do something else.
}

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2023 01:02 AM
@Deepshi1 please use gs.getProperty('property name'); to fetch the value of a system property in business rule.