Skip to main content
Martin Krchnak (Blinker) 님이 #Data Management에 질문했습니다
Hi,

 

I have flow triggered by Action on object A. In that flow I want to on first screen show list of all related records from another object B using dynamic record choice. I cannot figure out how to filter the related object to show only records related to the record from which the flow was triggered. I tried to filter on the dynamic record choice by lookup field on object B: ObjectA__c equals {!$Flow.CurrentRecord} but that doesn't show anything in the list. When I remove the filter, it shows all records from object B. I am not sure, if {!$Flow.CurrentRecord} is relevant to compare to lookup field on the object B. Any suggestions
답변 3개
  1. 2018년 4월 5일 오후 12:36
    Found the solution, used recordId as an input variable in the flow. If you trigger flow from record and have in flow recordId variable, it will get automatically populated by ID of the record.

     

    https://developer.salesforce.com/forums/?id=906F0000000BR6AIAW

     

    https://developer.salesforce.com/docs/atlas.en-us.salesforce_vpm_guide.meta/salesforce_vpm_guide/vpm_distribute_internal_action.htm
0/9000