flow external services

using flow and external services to cause minor mayhem

the use case : merge salesforce data into a word doc using flow

approach : use a flow button to callout to a microsoft power automate endpoint via external services

useful posts

the learnings :
a) no apex defined data types need to be created- the external service schema definition itself is the apex defined data type. just create a variable, type = apex-defined, and for the apex class, select ExternalService__YourExtServiceMethod - it will be waiting for you


Now read this

ISCHANGED and PRIORVALUE in Before Save Flows (not for after save flows)

Before save flows do not directly offer functions like ISCHANGED, ISNEW, and PRIORVALUE ISNEW can be handled by checking if $record.id is null (h/t to Jen Lee) To handle ISCHANGED or PRIORVALUE, use a get records element to get the... Continue →