Welcome to the Axosoft Community, Sign in | Register | Help
in Search

How to retrieve WorkflowStep NAME from WorkFlowStepId

Last post 07-13-2007, 8:32 AM by Bill Lefler. 2 replies.
Sort Posts: Previous Next
  •  07-12-2007, 8:19 AM 12417

    How to retrieve WorkflowStep NAME from WorkFlowStepId

    The DefectHandler call GetByDefectId returns a Defect object containing only the WorkFlowStepId. There are calls in the TypeHandler to retrieve Names cooresponding to Ids for things like Priority, Severity, Status, etc.

    Where is the call to retrieve the WorkFlowStep Name and DisplayOrder?


    Bill Lefler
    Intelligent Design Group
    Filed under:
  •  07-13-2007, 6:48 AM 12436 in reply to 12417

    Re: How to retrieve WorkflowStep NAME from WorkFlowStepId
    Currently there is no way to retrieve the workflow or workflow step, this is something we want to add in a future release. 
    Dan Suceava
    http://www.axosoft.com
  •  07-13-2007, 8:32 AM 12440 in reply to 12436

    Re: How to retrieve WorkflowStep NAME from WorkFlowStepId

    Hmmm...

    Well, for anyone else that is looking for this functionality here is an add-on service that I just built that contains a call to retrieve a list of WorkflowSteps.

    http://www.box.net/shared/6qqraqqz9p


    WorkflowStepTypeHandler:

        This is web service add-in for Axosoft's OnTime SDK for OnTime 2007. It allows you to retrieve a list of WorkFlowStep data.

    Installation:

        Copy the .asmx file into the root of the installed OnTimeSDK Web Service folder. (Along side the other .asmx files.)
        Copy the .dll file into the bin directory on the installed OnTimeSDK Web Service folder.
       
    Usage:

        Visual Basic (Declaration)
            Public Function GetWorkflowStepTypes ( _
                securityToken As Guid _
            ) As DataSet
     
        C#
            public DataSet GetWorkflowStepTypes (
                Guid securityToken
            )
     
        C++
            public:
            DataSet GetWorkflowStepTypes (
                Guid securityToken
            )

        Parameters
            securityToken (Guid)
            The Security GUID used for accessing OnTime Web Services.
       
        Return Value
            A DataSet containing the status types.
       
        The dataset returned contains the following columns:
            Column                    Description
            WorkflowStepId        Internal ID of the WorkflowStep
            WorkflowId               Internal ID of the associated Workflow
            StepOrder                Number indicating the order of the WorkflowStep.
            StepName                Name of the WorkflowStep

     
     


    Bill Lefler
    Intelligent Design Group
    Filed under: ,
View as RSS news feed in XML

© 2002 - 2007, Axosoft, LLC. All Rights Reserved. | Privacy
Bug Tracking | Defect Tracking Videos | Help Desk Software