PowerApp
Here is what I am passing back from PowerApps
'V2-Backlog-DNA'.Run
( JSON
( { CaseNumber: Case_Number_DNA.Text,
DNA: DNA_Type.SelectedText.Value,
//Severity: Severity_Input.SelectedText.Value,
Engineeralias: global_appMailNickName,
//IssueType: Issue_Type_Input.SelectedText.Value,
ID: global_engineer.ID,
//AssignTime: submit_time
, //AR: AR_Input.Value,
//Offering: Customer_Type_Input.SelectedText.Value,
EngineerUPN: global_engineer.UPN,
EngineeerDisplayname: global_engineer.Engineer.DisplayName
So this piece:
EngineeerDisplayname: global_engineer.Engineer.DisplayName
Here we are pulling back from a lookup column in SPO, Engineer. We are grabbing the displayname.
PowerAutomate:
in PowerAutomate, my Json is this:
{ "type": "object",
"properties": {
"CaseNumber": { "type": "string" },
"Engineeralias": { "type": "string" },
"ID": { "type": "integer" },
"EngineerUPN": { "type": "string" },
"DNA": { "type": "string" },
"EngineerDisplayname": { "type": "string" } } }
You can see I am expecting a STRING for engineerdisplayname.
if it was an array, I would receive an error would I not?
When I run this, here is the Json:
{ "CaseNumber": "123456",
"DNA": "Assign No Cases",
"EngineeerDisplayname": "Displaynamebot",
"EngineerUPN": "UPN@something.com",
"Engineeralias": "bot", "ID": 1253 }
So you can see it is excepting the String, and it is passing back the Displayname.
The problem is with the rest of the flow, when I call the Displayname it is Null
Here is the flow I am calling the displayname from Json into a Teams Chat. You can see it passes back null here also.
So the value is passed from PowerApps to Power Automate.
The value is there, clear as day in the Json, but I can't pull that value out.
ALL other values work just fine.
I ahve done this a ton of times with Json, and never had this issue.


