How to update/set lookup fields using Power Automate Flow

 By using Trigger outputs

if(

    empty(triggerOutputs()?['body/_apy_lookuprid_value']),

    '',

    concat(

        'apy_lookupfieldname(',

        triggerOutputs()?['body/_apy_lookupid_value'],

        ')'

    )

)


By Using Loop/ApplyToEach 

if(

    empty(items('Apply_to_each')?['_apy_lookupid_value']),

    '',

    concat(

        'apy_lookupfieldname(',

        items('Apply_to_each')?['_apy_lookupid_value'],

        ')'

    )

)

Comments

Popular posts from this blog

Meta Data Using WebApiRequest

Sample CRUD Operations Using C# in MSCRM

Basic Plugin Code in D365 using C#