web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Regardingobjectid not ...
Power Automate
Unanswered

Regardingobjectid not found in the trigger

(0) ShareShare
ReportReport
Posted on by 5

Hello,

 

I have a flow that is triggered when an activity is created.

The error says that the regardingobjectid_type is not found in the triggerOutputs.

 

Knowing that the regardingobject field is not empty at creattion., the error occurs when I try to check the field in a switch/case.

More over, the filed is found when the activity is created from the contact or account, but when it is created from the activity list (phonecall for example), the field isn't there.

 

Any Idea? is there a reason to that?

here is the trigger outputs

{
 "scheduledstart": "2022-10-04T06:00:00Z",
 "scheduleddurationminutes": 0,
 "statuscode": 1,
 "_statuscode_label": "Ouvert(e)",
 "leftvoicemail": false,
 "createdon": "2022-10-04T15:04:38Z",
 "statecode": 0,
 "_statecode_label": "Ouvert",
 "isbilled": false,
 "subject": "test from create",
 "directioncode": true,
 "_ownerid_value": "d80c9417-930e-ed11-82e4-000d3abf9744",
 "_ownerid_value@Microsoft.Dynamics.CRM.lookuplogicalname": "systemuser",
 "_ownerid_type": "systemusers",
 "modifiedon": "2022-10-04T15:04:38Z",
 "prioritycode": 1,
 "_prioritycode_label": "Normale",
 "_owningbusinessunit_value": "5ed385f8-1979-eb11-b1ab-000d3a227778",
 "_owningbusinessunit_value@Microsoft.Dynamics.CRM.lookuplogicalname": "businessunit",
 "_owningbusinessunit_type": "businessunits",
 "timezoneruleversionnumber": 0,
 "isregularactivity": true,
 "scheduledend": "2022-10-04T06:00:00Z",
 "_modifiedby_value": "d80c9417-930e-ed11-82e4-000d3abf9744",
 "_modifiedby_value@Microsoft.Dynamics.CRM.lookuplogicalname": "systemuser",
 "_modifiedby_type": "systemusers",
 "activitytypecode": "phonecall",
 "efr_confidentialite": 1,
 "_efr_confidentialite_label": "Non confidentielle",
 "isworkflowcreated": false,
 "_createdby_value": "d80c9417-930e-ed11-82e4-000d3abf9744",
 "_createdby_value@Microsoft.Dynamics.CRM.lookuplogicalname": "systemuser",
 "_createdby_type": "systemusers",
 "activityid": "bfef90d7-f543-ed11-bba2-000d3abca621",
 "actualdurationminutes": 30,
 "ItemInternalId": "bfef90d7-f543-ed11-bba2-000d3abca621",
 "SdkMessage": "Create",
 "RunAsSystemUserId": "d80c9417-930e-ed11-82e4-000d3abf9744",
 "RowVersion": "22427892"
}

Thanks

Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,830 Most Valuable Professional on at

    Hi @saadzag1,

     

    Just to double check. Which table name are you using in the configuration of your flow action(s)?

     

    Activities are a bit of an odd one when you look at the design. The design of that table is a bit different compared to other tables in Dataverse:

    https://learn.microsoft.com/en-us/power-apps/developer/data-platform/activity-entities

    https://learn.microsoft.com/en-us/power-apps/developer/data-platform/activities-data-model-storage

     

    Just tested it with the phone calls table, that seems to return the regardingobjectid value.

     

    Below is that example.

     

    1. The flow setup

     

    tablename_check.png

     

    2. The output result

     

    phonecall_table.png

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 573

#2
Valantis Profile Picture

Valantis 407

#3
11manish Profile Picture

11manish 387

Last 30 days Overall leaderboard