guided setup
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
I am creating a Guided setup .. and I got to know that it is itself a playbook.
So, Can someone know? that How to call a script action in playbook?
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
20m ago
Using the "Run Script" Action
- In your Playbook, add an action step
- Search for and select "Run Script" action
- In the script field, write your JavaScript code
- You can access playbook context variables using the inputs object
javascript ssample code:
(function execute(inputs, outputs) { // Your script logic here var result = inputs.input_variable; // Process your logic gs.info('Processing: ' + result); // Set outputs if needed outputs.output_variable = 'some value'; })(inputs, outputs);
