Skip to main content

I have use case in which i have to update a picklist field of contact object.

Now what will be thought process to execute it. From my point of view ,what i did till now is created Report where all pulled all records (ie Contact id,picklist field).

And then under configure tab choose that report as Source.

 

Now as action i choose Anonymous Block as Apex Type-But how to write code in Block.

I am confused with fact that from Report i am getting all contacts along with field that i need to update so here inside i should just fetch the field by creating Contact object.

 

How exactly this code will work inside this block?

#Trailblazers #MassActionScheduler

Anonymous block-Apex Type Use

1 Antwort
0/9000