NSO Action with Python
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2022 03:46 AM
Hi all,
is it possible to terminate the execution of an Action and execute a task immediately afterwards?
I'm working on an Action, the task is to retrieve some information by executing a REQUEST on a remote server and perform an update to the CDB with the data obtained.
I'd like to terminate the Action once I retrieve the data, use them (like printing on terminal) and then perform the CDB update using maapi API (as if it were a separate action).
Actually the Action terminates after the CDB update (that requires too much time), any solutions?
- Labels:
-
Developer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2022 03:32 AM
Anything can be done in code, but you likely want to use a NED instead of an action to do what you describe.
