Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
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

  • Expiscornovus Profile Picture
    31,630 Most Valuable Professional on at
    Re: Regardingobjectid not found in the trigger

    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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,522 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,890 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow