Skip to content

Commit ed067f0

Browse files
authored
fixed options and script
1 parent 14e7f05 commit ed067f0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Preparation/Conditional Execution/manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@
5050
"groupTitle": "Workflow Execution",
5151
"width": "TWO",
5252
"@visokiotype": "CustomBlockSchema.TextCustomBlockPublicOption",
53-
"mandatory": false,
54-
"defaultValue": "SavedErrors"
53+
"mandatory": true,
54+
"defaultValue": ""
5555
},
5656
{
5757
"name": "Refresh_From_Source",

Preparation/Conditional Execution/script.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def read_block_names(option_value):
2525
iox_url += "/"
2626

2727
block_names = read_block_names(omniscope_api.get_option("Block_Names"))
28-
refresh_from_source = str(omniscope_api.get_option("Refresh_From_Source")).lower()
28+
refresh_from_source = omniscope_api.get_option("Refresh_From_Source")
2929

3030
# Prepare the payload for the workflow execution request
3131
payload = json.dumps({

0 commit comments

Comments
 (0)