I'm having trouble with a!dynamicLink and wanted others to check it too. Is

I'm having trouble with a!dynamicLink and wanted others to check it too. Is this a bug in Appian.

Check out the code attached. Notice that all the single save links work correctly as well as the first save array of links. However, the 2nd and 3rd links do not work correctly.

Basically when using an array of save for dynamic links after a a!applyComponent, it appears not to work.

Dynamic Link Error.txt

OriginalPostID-151735

OriginalPostID-151735

  Discussion posts and replies are publicly visible

Parents
  • Your second link array is saving two values into the save. When you write this type of code within apply component, which is a looping construct, the system assumes that you are passing it an array of values and attempts to perform apply over it.

    If you want two values to be saved into, instead of having both of them in the saveInto, put this in a rule and call the rule in saveInto. That way, when the apply component works, you should have the value saved by the rule being invoked every time.
Reply
  • Your second link array is saving two values into the save. When you write this type of code within apply component, which is a looping construct, the system assumes that you are passing it an array of values and attempts to perform apply over it.

    If you want two values to be saved into, instead of having both of them in the saveInto, put this in a rule and call the rule in saveInto. That way, when the apply component works, you should have the value saved by the rule being invoked every time.
Children
No Data