- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
02-07-2023 03:11 AM
Hello,
We'd like to create a flux where an integration instance is enabled, then the function related to that instance is used, and finally the integration instance is disabled. How can this be done? No functions have been found.
Enable instance->Use function->Disable instance
Thanks for your help.
02-07-2023 05:29 PM
Hi @Josep, you can do this via an API call but the payload is big. You can use the demisto-api-put
command.
Is your use case to enable a button click approach to running a function when the integration is enable and stop when disabled. The above API is not recommended. Could you try with buttons inside an incident layout? You can keep the incident starred for quick access.
03-01-2023 11:22 PM
Hello Fernandes,
Let me explain deeper. We have problems with an external API which doesn't stop consuming coins, even not executing the related tasks inside XSOAR. We'd like to enable and disable the instance related to the API to avoid this consumption.
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!