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

Report
All responses (
Answers (