Auto follow record(s) based on criteria using flow #inSalesforce

Auto follow record(s) based on criteria using flow #inSalesforce


Create a record triggered flow, on create and update, object - Opportunity

Decision:

Record.Isclosed false

Amount Ischanged true


GET ELEMENT: (getFO)

FollowOpportunity(having fields Amount(currency),followerName(lookup - user))

Criteria Amount > Record.Amount

All records, automatically store...


DECISION ELEMENT:

nullcheck for the above


LOOP ELEMENT:

loopThrough getFO


Create Variable:

varES

record type, Entity Subscription object, i/p and o/p checked


ASSIGNMENT ELEMENT:

varES.ParentId equals Record.Id

varES.SubscriberId equals loop.followerName


Create Variable:

vESs, record, Entity Subscription, Allow Multiple..., i/p, o/p


ASSIGNMENT ELEMENT:

varESs add varES


CREATE RECORD:

Multiple..

varESs














Comments