How do I retrieve the system property OR the properties mentioned in the Properties.cfg file in the "Execute Script Task"?

How do I retrieve the system property OR the properties mentioned in the Properties.cfg file in the "Execute Script Task"?

book

Article ID: KB0088301

calendar_today

Updated On:

Products Versions
TIBCO IntegrationManager -
Not Applicable -

Description

Resolution:
You can use the following in the "Execute script task" to retireve the System properties -
var myProp = Packages.java.lang.System.getProperty("PropertyName");

Issue/Introduction

How do I retrieve the system property OR the properties mentioned in the Properties.cfg file in the "Execute Script Task"?