Skip to content

[docs]: DataStorage - Cooperation of AppendValueToList and GetValue #2248

Open
@igorbeslic

Description

@igorbeslic

Documentation Link

https://docs.bytechef.io/reference/components/data-storage/

Describe the problem

What is difference between Workflow Scope and Execution Scope and Account Scope? An example would be nice.
I need explanation for this CASE to better understand conversion which happens in some cases when we use getValue action:

  1. I use appendValueToList.
  2. Within loop it stores 3 objects of this format in to the list under Key: heroes:
{
"name": "Peter",
"secondName":"Pan"
},
{
"name": "Donald",
"secondName":"Duck"
},
{
"name": "Mickey",
"secondName":"Mouse"
}
  1. I use DataStorage GetValue action, Key: heroes of Type: Array. Automatically generated name for DataStorage GetValue is dataStorage_2

Questions:

  • If one accesses array using syntax {dataStorage_2}, what is internal representation of data? Please describe on data sample described previously.
  • Can I rename automatically generated name dataStorage_2 into heroesArray ? Can default name for getValue use Key value + Type value? For example regularExpressionString, heroesArray, counterInteger, yearString, bitrthDate?

Describe the improvement

Provide SCOPE explanation with examples
Provide transformation details if those occurs on getValue action
Provide explanation how Default Value should be used? Input box disappears if expression is chosen.
An example how storage can be used to populate CSV file or Google Spreadsheet.

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

Projects

Status

V 0.1

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions