-
Notifications
You must be signed in to change notification settings - Fork 2
set
Peter Naydenov edited this page Dec 19, 2017
·
1 revision
Convert current-data from string to object.
{
do: 'set',
as: 'propertyName'
}
- propertyName: string. Set will substitute string value with object with single propertyName that will take the value.
{ do: 'set', as: 'text' }
If current-data is:
[
'one'
, 'two'
, 'three'
]
After set process-step current-data will look like this:
[
{ text: 'one'}
, { text: 'two'}
, { text: 'three'}
]