Skip to main content
1-Visitor
April 9, 2018
Question

Integrity javascript invoke powershell script is that reasonably possible?

  • April 9, 2018
  • 1 reply
  • 3003 views

Would like to invoke/call from a Integrity Server Java script a powershell script.

 

  • The process would take an email address from inside an Integrity Java script and call out to a powershell script
  • The powershell would extract user log in id from Active Directory based upon their email address that was passed in to it. 
  • The powershell would pass back the user log in id to the calling Integrity java script.  

Similar to how getUserBean( ) lookupbean instead using email address would be a great option

1 reply

17-Peridot
April 10, 2018

Hello,

Although I have already run PowerShell out of Java classes, I'm not sure if this approach is also valid for JavaScript.

I'm assuming that you want to run a trigger, right?

Within the trigger, you can execute server-side Java code or custom Java code.

Would it be an option for you to run Java instead of Powershell?
Volker

 

jsummers1-VisitorAuthor
1-Visitor
April 10, 2018

Yes that would work just wanting to extract the user information based upon their email address from LDAP if possible