Execute cmd from workflow

  • 3 August 2022
  • 3 replies
  • 14 views

Badge

Wondering if anyone has called a cmd she'll script from a workflow.. Is it possible to use execute sql to send xp_cmdshell? We have standard but could make a case for enterprise.


3 replies

Userlevel 2
Badge +7

Hi @JackToncatrina ,


 


well, i think it was not tested before, because it is a special use case, but you can try it, we have several sql actions, also for on prem (gateway required) which is worth testing it.


 



 

From a security perspective, this might have some risks, especially if you pass the script from the workflow.

Userlevel 4
Badge +10

You can use an RPA Bot.


 


The RPA Bot will execute your cmd script, on your machine, in your environnment. And you can start the RPA Bot directly from your NWC Workflow.


 

Reply