Question

4
Replies
768
Views
Devan Member since 2014 34 posts
Virtusa
Posted: 3 years ago
Last activity: 3 years 3 months ago
Closed
Solved

Invoke shell script from PEGA

Hi All,

While invoking a shell script from PEGA (java step in a activity), many commands like mkdir are not working.

i have tried the below

ProcessBuilder pb = new ProcessBuilder("myshellScript.sh");

and also

Process p = Runtime.getRuntime().exec("/jboss/support/temp/pegatemp/DEV_CELL_CEMS_LN_02/mysh.sh");

Could someone help in resolving this script

Thanks,

Aruldevan

Low-Code App Development Data Integration Java and Activities Data Integration
Moderation Team has archived post
Share this page LinkedIn