on 2020 Jul 16 1:18 PM
Hi,
It looks like incorrect usage of array in standart generated code
The context is:
newFolder (as array)
ssign part must look like:
Seems like the standard code generated from workflow is not correct in this case:
rootData.newFolder[0].newItem = 10000;
But this code is working, for example:
// Set Context
rootData.newFolder[0] = ctx.dataManagers.rootData_newFolder.create(); rootData.newFolder[0].newItem = 10000;
rootData.newFolder[1] = ctx.dataManagers.rootData_newFolder.create();
rootData.newFolder[1].newItem = 11000;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Mikhail, maybe you have to write the code like following:
rootData.newFolder.newItem = 10000;
instead of:
rootData.newFolder[0].newItem = 10000;
Greets,
Aleks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello, Aleksandar, thank you for your answer!
I actually try to fill array of "newFolder" with "newItem" values. In your proposed solution "NewFolder" is not an array, so i cannot fill multiple "newFolder" structures.
And also rootData.newFolder[0].newItem = 10000 in this case is standart generated code by "Set Context" activity, so its seems should work out of box properly.
User | Count |
---|---|
81 | |
11 | |
10 | |
10 | |
10 | |
8 | |
8 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.