發表文章

目前顯示的是 6月, 2026的文章

Lesson1-2.UiPath 的基本流程起手式_變數_If then else_Switch、Flow Switch _part2

特定型別補充 https://docs.uipath.com/studio/standalone/latest/user-guide/types-of-variables UiPath.Core.Activities.WriteTextFile https://docs.uipath.com/activities/other/latest/workflow/write-text-file Manage Word Documents https://docs.uipath.com/activities/other/latest/productivity/manage-word-documents UiPath.Word.Activities.DocumentReadText https://docs.uipath.com/activities/other/latest/productivity/document-read-text UiPath.Word.Activities.DocumentAppendText https://docs.uipath.com/activities/other/latest/productivity/document-append-text 1-2-3.實作 Do While 迴圈、For Each 迴圈與 Flow Chart 迴圈 https://docs.uipath.com/studio/standalone/latest/user-guide/example-of-using-a-for-each-activity https://docs.uipath.com/studio/standalone/latest/user-guide/example-of-using-a-while-activity https://docs.uipath.com/studio/standalone/latest/user-guide/example-of-using-a-do-while-activity https://docs.uipath.com/studio/standalone/latest/user-guide/example-of-using-a-break-activity https://academy.uipath.co...

Lesson1-2.UiPath 的基本流程起手式_變數_If then else_Switch、Flow Switch

圖片
  1-2-1.UiPath 的基本流程起手式 1-2-2.實用的變數、If then else、Sequence、FlowChart 資料流入門 1-2-3.實作 Do While 迴圈、For Each 迴圈與 Flow Chart 迴圈 1-2-4.使用 Switch、Flow Switch 結構 1-2-1.UiPath 的基本流程起手式 1-2-2.實用的變數、If then else、Sequence、FlowChart 資料流入門 建立一個Flowchart 拖放一個Sequence放置於Flowchart中去跟起始點(播放icon)做連線。 1-2-1.變數、資料類型與流程控制 字串類型務必要用半形雙引號包覆兩側 練習偵錯打個斷點 運行偵錯起初為Sam 做完Assign後變成Kevin 在拖放第二個Sequence 按F2更名為Step2並於其中放置一個InputDialog Name 變數名稱:需要是獨一無二的。 Type 變數類型 Scope 變數範圍:一開始會依照在設定變數時,指定的那個activity範圍內,設定後可再更改範圍。 Default value 預設值 Debug 用途:用於以除錯模式執行流程,並允許進行單步驗證和檢查變數。 在除錯模式下,可以使用 「Step Into」、「Step Over」 和 「Step Out」 等操作逐步執行流程,方便進行錯誤排除。 適用場景: 需要逐步測試或檢查流程中每個功能執行情況。 Run File 用途:用於一般執行模式單個 xaml 文件(流程文件)。 這將以一般執行模式運行流程,並將執行流程中所有功能。 適用場景:當確定整個流程已經完成並準備好全面執行時。 測試單一 Sequence 時 → 使用 Debug 測試單一 .xaml 時 → 使用 Debug/Run File 測試專案時 → 使用 Debug/Run 1-2-2. If then else 練習 User輸入訂單訂購產品數量,單價為,根據規則當訂單數量大於1000時候,單價打85折,其他不打折。 運用Else If去實踐,更改規則為當訂購數大於1000時候,單價打85折,當訂購數大於5000時候,打75折,否則不折。 於MainFLow新增flowchart 拖曳新增Input Dialog設定三個變數 再去拖曳If ...