src/sasctl/_services/workflow.py
def run_workflow_definition(self, name, input=None):
        """Runs specific Workflow Processes Definitions.

        Parameters
        ----------
        name : str
            Name or ID of an enabled workflow to execute
        input : dict, optional
            Input values for the workflow for initial workflow prompt

        Returns
        -------
        RestObj
            The executing workflow
            
        """

        workflow = self._find_specific_workflow(name)
        if workflow is None:
            raise ValueError("No Workflow enabled for %s name or id." % name)
        
        if input is None:
            return self.post('/processes?definitionId=' + workflow['id'],
	                     headers={'Content-Type': 'application/vnd.sas.workflow.variables+json'})
        if isinstance(input, dict):
            return self.post('/processes?definitionId=' + workflow['id'], json=input,
	                     headers={'Content-Type': 'application/vnd.sas.workflow.variables+json'})
Runs specific Workflow Processes Definitions.

        Parameters
        ----------
        name : str
            Name or ID of an enabled workflow to execute
        input : dict, optional
            Input values for the workflow for initial workflow prompt

        Returns
        -------
        RestObj
            The executing workflow
            
        
Runs specific Workflow Processes Definitions.
Parameters

name : str
Name or ID of an enabled workflow to execute
input : dict, optional
Input values for the workflow for initial workflow prompt

Returns

RestObj
The executing workflow
Runs specific Workflow Processes Definitions . Parameters name : str Name or ID of an enabled workflow to execute input : dict optional Input values for the workflow for initial workflow prompt Returns RestObj The executing workflow
def run_workflow_definition(self, name, input=None):
        workflow = self._find_specific_workflow(name)
        if workflow is None:
            raise ValueError("No Workflow enabled for %s name or id." % name)
        if input is None:
            return self.post('/processes?definitionId=' + workflow['id'],
	                     headers={'Content-Type': 'application/vnd.sas.workflow.variables+json'})
        if isinstance(input, dict):
            return self.post('/processes?definitionId=' + workflow['id'], json=input,
	                     headers={'Content-Type': 'application/vnd.sas.workflow.variables+json'})
def run_workflow_definition ( self , name , input = None ) : workflow = self . _find_specific_workflow ( name ) if workflow is None : raise ValueError ( "No Workflow enabled for %s name or id." % name ) if input is None : return self . post ( '/processes?definitionId=' + workflow [ 'id' ] , headers = { 'Content-Type' : 'application/vnd.sas.workflow.variables+json' } ) if isinstance ( input , dict ) : return self . post ( '/processes?definitionId=' + workflow [ 'id' ] , json = input , headers = { 'Content-Type' : 'application/vnd.sas.workflow.variables+json' } )
Runs specific Workflow Processes Definitions.
Runs specific Workflow Processes Definitions .
"""Runs specific Workflow Processes Definitions.

        Parameters
        ----------
        name : str
            Name or ID of an enabled workflow to execute
        input : dict, optional
            Input values for the workflow for initial workflow prompt

        Returns
        -------
        RestObj
            The executing workflow
            
        """
self
name
input