Xsoar - I am not able to fire demisto.executeCommand() from XSoar

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Xsoar - I am not able to fire demisto.executeCommand() from XSoar

L0 Member

Hii... 

Actually I am working on xsoar, i am trying to execute demisto.executeCommand from integration but i am getting exception that will not get execute in integrations, is there any way to implement executeCommand from integrations

actually i want to get saved incident from the xsoar server and check wether it is duplicating the new upcoming incidents

 

if not hasattr(demisto, 'executeCommand'):
raise DemistoException('Cannot run demisto.executeCommand() from integrations.')

 

i am getting above exception, this code is available in commonserverpython

1 accepted solution

Accepted Solutions

Yes, that you cannot fire demisto.executeCommand() from the integrations, I contacted their XSOAR support and they told me that you can run it only through XSOAR script and not in live server.

View solution in original post

2 REPLIES 2

L0 Member

Did you get an answer to this issue?

Yes, that you cannot fire demisto.executeCommand() from the integrations, I contacted their XSOAR support and they told me that you can run it only through XSOAR script and not in live server.

  • 1 accepted solution
  • 3972 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!