I have a case which is failing to work when mass update is used.
Prep-work:
1. Create One-to-One Left relationship with User on Lead entity, set the name assignedBy for the User part.
2. Add this to Formula of the Lead entity:
3. Add the Assigned By field to the Lead details or list Layout so you can see the contents of the field visually.
Test:
Select multiple leads on the list and then go to Actions -> Mass Update select Assigned User and choose a user you like and then hit Update.
It fails to update the Assigned By field this way (with Mass Update selecting multiple leads).
It works for single leads, either selecting single lead and then Mass Update, or going to a specific lead and changing the Assigned User.
Am I doing something wrong or is this a bug?
Prep-work:
1. Create One-to-One Left relationship with User on Lead entity, set the name assignedBy for the User part.
2. Add this to Formula of the Lead entity:
Code:
ifThen( entity\isAttributeChanged('assignedUserId'), /* other code that works */; entity\setAttribute('assignedById', entity\attribute('modifiedById')) );
Test:
Select multiple leads on the list and then go to Actions -> Mass Update select Assigned User and choose a user you like and then hit Update.
It fails to update the Assigned By field this way (with Mass Update selecting multiple leads).
It works for single leads, either selecting single lead and then Mass Update, or going to a specific lead and changing the Assigned User.
Am I doing something wrong or is this a bug?
Comment