def _get_workflow_input_parameters(workflow):
    """Return workflow input parameters merged with live ones, if given."""
    if workflow.input_parameters:
        return dict(workflow.get_input_parameters(),
                    **workflow.input_parameters)
    else:
        return workflow.get_input_parameters()