I have created one platform event and publishing the json in it on account creation. I have one Process builder which populating the field on account creation.
the issue is my Platform event is getting inserted twice and json is also generating twice. My requirement is to genereate the json after PB fires and populate the value in json also.
I have After Insert Trigger for platform event .Please suggest how to acheive this