diff --git a/skyvern/forge/sdk/workflow/models/block.py b/skyvern/forge/sdk/workflow/models/block.py index 318a08218..8c326ba7b 100644 --- a/skyvern/forge/sdk/workflow/models/block.py +++ b/skyvern/forge/sdk/workflow/models/block.py @@ -704,8 +704,8 @@ async def execute(self, workflow_run_id: str, **kwargs: dict) -> BlockResult: for parameter in self.parameters: value = workflow_run_context.get_value(parameter.key) secret_value = workflow_run_context.get_original_secret_value_or_none(value) - if secret_value is not None: - parameter_values[parameter.key] = secret_value + if secret_value: + continue else: parameter_values[parameter.key] = value