Exemple #1
0
 /// <summary>
 ///Is this a Manual user step?
 /// </summary>
 /// <returns>true if Window/Form/Workbench</returns>
 public bool IsUserManual()
 {
     if (ACTION_UserForm.Equals(GetAction()) ||
         ACTION_UserWindow.Equals(GetAction()) ||
         ACTION_UserWorkbench.Equals(GetAction()))
     {
         return(true);
     }
     return(false);
 }
Exemple #2
0
        /// <summary>
        ///Get Action Info
        /// </summary>
        /// <returns>info</returns>
        public String GetActionInfo()
        {
            String action = GetAction();

            if (ACTION_AppsProcess.Equals(action))
            {
                return("Process:AD_Process_ID=" + GetAD_Process_ID());
            }
            else if (ACTION_DocumentAction.Equals(action))
            {
                return("DocumentAction=" + GetDocAction());
            }
            else if (ACTION_AppsReport.Equals(action))
            {
                return("Report:AD_Process_ID=" + GetAD_Process_ID());
            }
            else if (ACTION_AppsTask.Equals(action))
            {
                return("Task:AD_Task_ID=" + GetAD_Task_ID());
            }
            else if (ACTION_SetVariable.Equals(action))
            {
                return("SetVariable:AD_Column_ID=" + GetAD_Column_ID());
            }
            else if (ACTION_SubWorkflow.Equals(action))
            {
                return("Workflow:AD_Workflow_ID=" + GetAD_Workflow_ID());
            }
            else if (ACTION_UserChoice.Equals(action))
            {
                return("UserChoice:AD_Column_ID=" + GetAD_Column_ID());
            }
            else if (ACTION_UserWorkbench.Equals(action))
            {
                return("Workbench:?");
            }
            else if (ACTION_UserForm.Equals(action))
            {
                return("Form:AD_Form_ID=" + GetAD_Form_ID());
            }
            else if (ACTION_UserWindow.Equals(action))
            {
                return("Window:AD_Window_ID=" + GetAD_Window_ID());
            }
            else if (ACTION_WaitSleep.Equals(action))
            {
                return("Sleep:WaitTime=" + GetWaitTime());
            }
            return("??");
        }