Skip to main content
Version: Latest Version (2.9.1)

highbond_robot_script_version (Resource)

Schema

Required

robot_idString he ID of the robot

Optional

commentString An informative statement in the version history.
force_updatesBoolean Allows overriding top-level 'create_only' option.
idString The ID of this resource.
nameString Name of the flow
rawString Configuration object of the flow of a highbond robots or workflow robots

Read-Only

analytics_idList of String An array of analytic IDs associated with the script version
versionNumber The version of the analytic script

Example Usage

// Robot for workflow robots
resource "highbond_robot" "main" {
name = "March 011 Example Robot"
category = "workflow"
}

// Robot Script Version for workflow robots
resource "highbond_robot_script_version" "main" {
robot_id = highbond_robot.main.id
comment = "Sowmya comment"
name = "Sowmya robot script version"
raw = <<EOS
{
"version": "2021-02-05",
"nodes":[
{
"id":"94998406-f6fe-4edc-ae9a-ab17270a7f08",
"kind":"script",
"name":"Script",
"position":{
"x":635,
"y":358
},
"timestamp":1595527996,
"config":{
"cells":[
{
"id":"805a7587-df96-4648-b95a-ba959a8aa571",
"input":"print(\"vibranium rocks!\")"
}
]
}
}
],
"edges":[
],
"variables":[
{
"id":"a9e0bc9d-6dcc-4d2d-943c-fd1c795667c5",
"name":"myCharacter",
"type":"character",
"value":"the flow value",
"isTaskInput":true,
"taskInputLabel":"myCharacterTaskInput",
"isTaskInputValueOptional":true,
"taskInputDescription":"optional description for character task input"
},
{
"id":"ebc5e5ab-5ec8-47c5-8faf-098444e136a8",
"name":"team",
"type":"character",
"value":"prism",
"isTaskInput": false,
"taskInputLabel":"prism",
"isTaskInputValueOptional":true,
"taskInputDescription":"Team name"
},
{
"id":"cb31b2d6-b54a-446f-a377-aa4274f81494",
"name":"myPassword",
"type":"password",
"value":"TubXO5h7+xnQKNJTT+e00XZV/F2NoYRokk5YR+jwFJrjqqs4iZrmO15P+KlGDnm7rAil5QQDTzSWkdUvISjs1mNkShjbkfRNN2YyEGITcRJXcDkUdRb1EQYAOKtasyk/xlqz/Px4dlj5wk9H3ci2qq7JEYC24B2vPqfPaT34DvmGO+9j/l8gU+w4t2vKKTzAm7PDexiAB1QT05gZVbt2WePA52omIkFibTvZQSOOL9x7onl7bDMa9eT2es6WVLkpzxBK4Ki8yAnqys4zN8HTEUZfwg1W/4jdyyIGMiO6ZS/zs0k/Os5/J7ItUPUYO/FV+8Y3XwSX+MgJn8gsKip8dQ==",
"isTaskInput":true,
"taskInputLabel":"myPasswordTaskInput"
}
]
}
EOS
}