Automation Anywhere

Automation Anywhere Automation 360

關閉內容

內容

開啟內容

開發軟件包時組織和分組操作

  • 已更新:5/25/2021

    開發軟件包時組織和分組操作

    查看提供的示例,瞭 actions 解如何在軟件包 SDK 開發過程中添加和分組。

    範例:加入 actions
    @BotCommand
    
    //CommandPks adds required information to be dispalable on the UI.
    @CommandPkg(
    		//Unique name inside a package and a label to display.
    		name = "concatenate", label = "[[Concatenate.label]]", 
    		node_label = "[[Concatenate.node_label]]", description = "[[Concatenate.description]]", icon = "pkg.svg", 
    		
    		//Return type information. return_type ensures only the right kind of variable is provided on the UI. 
    		return_label = "[[Concatenate.return_label]]", return_type = STRING, return_required = true)
    範例: 群組 actions

    使用 group_labelConcatenateGroup , 它在 UI 中顯示爲 ConcatenateGroup 如果不使用 group_label ,則會獲得相應包中的所有操作。

    @BotCommand
    
    //CommandPks adds required information to be dispalable on the UI.
    @CommandPkg(
    		//Provide a unique name inside a package and a label to display.
    		group_label = "ConcatenateGroup", name = "concatenateWithGroup", label = "concatenateWithGroup",
    		node_label = "[[Concatenate.node_label]]", description = "[[Concatenate.description]]", icon = "pkg.svg", 
    		
    		//Return type information. return_type ensures only the right kind of variable is provided on the UI. 
    		return_label = "[[Concatenate.return_label]]", return_type = STRING, return_required = true)
    public class ConcatenateWithGroup {
    傳送意見反饋