Assign associated collection bug in "post action event" type workflow

Hi Guys,

I have a bug in a “post action event” type workflow.

To setup some context, I have two collections with many to many relationship (Exams & Questions).

I have a trigger on Exams view that when clicked starts a workflow (see below) :

Version where I search for questions using a specific filter (3 questions resulting) and then try assigning them to Exams (multi select field)


Another Version where after searching for questions I loop on each one and assign the right Exam ID (other way basically, I even forced a placeholder value “Exam 1”)


Search is good, returns 3 results, but both versions of the assignments are not working, it even loops 3 times, gets the 3 questions but assignment give 0 returned and nothing happens.

Please help me !!!

This scenario is a little limited for now.

Please notice the “Update mode”, which you are using is batch mode. In batch mode, the associations fields could not be updated (unless belongs to, because the foreign key field is in the self collection).

So, please use “One by one” mode instead, in which it will update the association fields.

We will add some hint and limitation later on the fields could be used in batch mode, to avoid any misusage.

Thank you so much, I did work when I changed it to update one by one