Can I create a new map or set in Workflow?

0
3 comments
Official comment

Hello,

A set/map of what? You can use standard javascript 5.1 means to code the logic in your rule. However, you cannot create new bundles, fields, etc. 

Avatar
Permanently deleted user

I can't create a map like in standard javascript. Like this way: var m = new Map();

0

Unfortunately, new Map creation is not supported. Workflow editor fully supports ES5.1; the following methods are supported from ES6:

startsWith
endsWith
repeat
codePointAt
normalize
includes
isFinite
isInteger
isSafeInteger
isNaNcbrt()
cosh()
expm1()
hypot()
log1p()
log10()
sinh()
tanh()
imul()
trunc()

Please refer to https://www.jetbrains.com/help/youtrack/standalone/Workflows-in-JavaScript.html#2018-updates

0

Please sign in to leave a comment.