How to get the type of the regarding field of an activity using Power Automate Cloud Flow ?

The activities have a field named Regarding which is of type Multi-table lookups. This field supports several types like account, contact, lead (…). This post will discuss how to get the type of lookup used or in other words which table is used with Power Automate Cloud Flows.

For the demo, I created a simple flow that is triggered when a task is created. Then I store the type of the regarding field with the Compose action.

To get the type of the regarding field. The trigger output offers the regarding (type) option which implements the expression “triggerOutputs()?[‘body/_regardingobjectid_value@Microsoft.Dynamics.CRM.lookuplogicalname’]

At the time of writing this post, the trigger output does not contain this property… The standard expression Regarding (Type) return an empty value. This seems to be a bug (…)


To get the type of the field regarding. We must use the following expression:

triggerOutputs()?[‘body/_regardingobjectid_type’]

One thought on “How to get the type of the regarding field of an activity using Power Automate Cloud Flow ?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s