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

Notifications

Announcements

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,189 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard