Skip to content

Commit

Permalink
[IsIntegrationAvailable] Fix the Outputs (#31107)
Browse files Browse the repository at this point in the history
* First commit

* Add RN

* Update the RN
  • Loading branch information
mmhw committed Nov 26, 2023
1 parent 22dc6b2 commit e1711e1
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
6 changes: 6 additions & 0 deletions Packs/CommonScripts/ReleaseNotes/1_12_47.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

#### Scripts

##### IsIntegrationAvailable

- Fixed an issue where the *outputs* for *Conditional* Tasks were not 'yes' or 'no' (issue was introduced in 1.12.46).
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ def is_integration_available(brand_name: str, all_instances: Dict[str, dict]) ->
return CommandResults(
outputs_prefix='brandInstances',
outputs=brand_instances,
readable_output=readable_output
readable_output=readable_output,
raw_response=readable_output
)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ scripttarget: 0
dependson: {}
timeout: 0s
outputs:
- contextPath: brandInstances
description: List of the instances for the given brands.
type: Unknown
- contextPath: yes
description: if integration is available.
- contextPath: no
description: if there is no instance for the given brand.
fromversion: 5.0.0
dockerimage: demisto/python3:3.10.13.80593
tests:
Expand Down
2 changes: 1 addition & 1 deletion Packs/CommonScripts/pack_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Common Scripts",
"description": "Frequently used scripts pack.",
"support": "xsoar",
"currentVersion": "1.12.46",
"currentVersion": "1.12.47",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down

0 comments on commit e1711e1

Please sign in to comment.